Compare commits

..

2 commits

Author SHA1 Message Date
j
66f9a51769 fix new edit form query 2020-01-30 12:33:02 +01:00
j
0f889f927d don't load debugger.js 2020-01-21 15:18:11 +01:00
3 changed files with 3 additions and 8 deletions

View file

@ -1,4 +1,4 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- <!--
Copyright 2012 Mozilla Foundation Copyright 2012 Mozilla Foundation
@ -41,9 +41,6 @@ See https://github.com/adobe-type-tools/cmap-resources
<script src="/static/pdf.js/l10n.js"></script> <script src="/static/pdf.js/l10n.js"></script>
<script src="/static/pdf.js/pdf.js"></script> <script src="/static/pdf.js/pdf.js"></script>
<script src="/static/pdf.js/debugger.js"></script>
<script type="text/javascript"> <script type="text/javascript">
var DEFAULT_URL = '{{url}}', var DEFAULT_URL = '{{url}}',
embeds = {{embeds|safe}}, embeds = {{embeds|safe}},

View file

@ -48,7 +48,7 @@ pandora.addFolderItem = function(section) {
); );
} }
} else { } else {
data.query = isItems ? ui.find : ui.findDocuments; data.query = section == 'documents' ? ui.findDocuments : ui.find;
} }
} }
if (ui.section == 'items' && section == 'edits') { if (ui.section == 'items' && section == 'edits') {

View file

@ -1,4 +1,4 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- <!--
Copyright 2012 Mozilla Foundation Copyright 2012 Mozilla Foundation
@ -43,8 +43,6 @@ See https://github.com/adobe-type-tools/cmap-resources
<script src="/static/pdf.js/debugger.js"></script>
<script src="/static/pdf.js/embeds.js"></script> <script src="/static/pdf.js/embeds.js"></script>
<script src="/static/pdf.js/viewer.js"></script> <script src="/static/pdf.js/viewer.js"></script>
<link rel="stylesheet" type="text/css" href="/static/pdf.js/css/videopdf.css"/> <link rel="stylesheet" type="text/css" href="/static/pdf.js/css/videopdf.css"/>