mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-29 15:59:22 -04:00
Ticket 86 (addendum) - Guard against themes that don't define MSG_CANCEL and add the message to admin_default as
well.
This commit is contained in:
@@ -21,6 +21,10 @@
|
||||
<?= $theme->script("lib/jquery.form.js") ?>
|
||||
<?= $theme->script("lib/jquery-ui.js") ?>
|
||||
<?= $theme->script("lib/gallery.common.js") ?>
|
||||
<? /* MSG_CANCEL is required by gallery.dialog.js */ ?>
|
||||
<script type="text/javascript">
|
||||
var MSG_CANCEL = "<?= t('Cancel') ?>";
|
||||
</script>
|
||||
<?= $theme->script("lib/gallery.dialog.js") ?>
|
||||
<?= $theme->script("lib/superfish/js/superfish.js") ?>
|
||||
<?= $theme->theme_script("js/jquery.dropshadow.js") ?>
|
||||
|
||||
Reference in New Issue
Block a user