Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-27 15:41:24 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-27 15:41:24 +0400
commit71ab97f9b074c6128bff6f1b1690e7f52571f529 (patch)
treebb0336109c26d5bfd021789d4d35b2dcac635d38 /templates
parentf7c625773b621bedff4fd9e18fd7c01d34f3b871 (diff)
jquery-migrate-1.2.1.min.js was missing + open buttons removed
Diffstat (limited to 'templates')
-rw-r--r--templates/pdf.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/templates/pdf.php b/templates/pdf.php
index 13fac0b..4eea87c 100644
--- a/templates/pdf.php
+++ b/templates/pdf.php
@@ -25,7 +25,8 @@ limitations under the License.
<link rel="stylesheet" href="<?php print_unescaped(OCP\Util::linkTo('files_pdfviewer', '3rdparty/pdfjs/viewer.css')); ?>"/>
<!-- oC changes-->
- <script type="text/javascript" src="<?php print_unescaped(OCP\Util::linkTo('core', 'js/jquery-1.10.0.min.js')); ?>"></script>
+ <script type="text/javascript" src="<?php print_unescaped(OCP\Util::linkTo('core', 'js/jquery-1.10.0.min.js')); ?>"></script>
+ <script type="text/javascript" src="<?php print_unescaped(OCP\Util::linkTo('core', 'js/jquery-migrate-1.2.1.min.js')); ?>"></script>
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('core', 'js/jquery-showpassword.js')); ?>"></script>
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('core', 'js/jquery-tipsy.js')); ?>"></script>
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('core', 'js/jquery.infieldlabel.js')); ?>"></script>
@@ -98,10 +99,6 @@ limitations under the License.
<span data-l10n-id="presentation_mode_label">Presentation Mode</span>
</button>
- <button id="secondaryOpenFile" class="secondaryToolbarButton openFile visibleLargeView" title="Open File" tabindex="19" data-l10n-id="open_file">
- <span data-l10n-id="open_file_label">Open</span>
- </button>
-
<button id="secondaryPrint" class="secondaryToolbarButton print visibleMediumView" title="Print" tabindex="20" data-l10n-id="print">
<span data-l10n-id="print_label">Print</span>
</button>
@@ -175,10 +172,6 @@ limitations under the License.
<span data-l10n-id="presentation_mode_label">Presentation Mode</span>
</button>
- <button id="openFile" class="toolbarButton openFile hiddenLargeView" title="Open File" tabindex="13" data-l10n-id="open_file">
- <span data-l10n-id="open_file_label">Open</span>
- </button>
-
<button id="print" class="toolbarButton print hiddenMediumView" title="Print" tabindex="14" data-l10n-id="print">
<span data-l10n-id="print_label">Print</span>
</button>