From c040c38f8c36126da13b79f08d4b315ab77fb245 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 4 Mar 2016 16:57:09 -0500 Subject: [PATCH] Removing data-lightbox from submit buttons. --- themes/bootstrap3/js/lightbox.js | 3 --- .../bootstrap3/templates/search/bulk-action-buttons.phtml | 8 ++++---- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js index d03e7de8802..467c940ad7c 100644 --- a/themes/bootstrap3/js/lightbox.js +++ b/themes/bootstrap3/js/lightbox.js @@ -106,10 +106,7 @@ VuFind.lightbox = (function() { /** * Modal link data options * - * data-lightbox-close = close lightbox after form success - * data-lightbox-href = overwrite href with this value in lightbox * data-lightbox-ignore = do not open this link in lightbox - * data-lightbox-post = post json for link ajax */ var _constrainLink = function(event) { if (typeof this.dataset.lightboxIgnore != 'undefined') { diff --git a/themes/bootstrap3/templates/search/bulk-action-buttons.phtml b/themes/bootstrap3/templates/search/bulk-action-buttons.phtml index 84d10ab508c..7122165f7c6 100644 --- a/themes/bootstrap3/templates/search/bulk-action-buttons.phtml +++ b/themes/bootstrap3/templates/search/bulk-action-buttons.phtml @@ -9,13 +9,13 @@ </div> <div class="btn-group"> <? if (isset($this->showBulkOptions) && $this->showBulkOptions): ?> - <input id="ribbon-email" data-lightbox class="btn btn-default" type="submit" name="email" title="<?=$this->transEsc('bookbag_email_selected')?>" value="<?=$this->transEsc('Email')?>"/> + <input id="ribbon-email" class="btn btn-default" type="submit" name="email" title="<?=$this->transEsc('bookbag_email_selected')?>" value="<?=$this->transEsc('Email')?>"/> <? $exportOptions = $this->export()->getBulkOptions(); if (count($exportOptions) > 0): ?> - <input id="ribbon-export" data-lightbox class="btn btn-default" type="submit" name="export" title="<?=$this->transEsc('bookbag_export_selected')?>" value="<?=$this->transEsc('Export')?>"/> + <input id="ribbon-export" class="btn btn-default" type="submit" name="export" title="<?=$this->transEsc('bookbag_export_selected')?>" value="<?=$this->transEsc('Export')?>"/> <? endif; ?> - <input id="ribbon-print" class="btn btn-default" type="submit" name="print" title="<?=$this->transEsc('bookbag_print_selected')?>" value="<?=$this->transEsc('Print')?>" data-lightbox-ignore/> + <input id="ribbon-print" class="btn btn-default" type="submit" name="print" title="<?=$this->transEsc('bookbag_print_selected')?>" value="<?=$this->transEsc('Print')?>"/> <? if ($this->userlist()->getMode() !== 'disabled'): ?> - <input id="ribbon-save" data-lightbox class="btn btn-default" type="submit" name="saveCart" title="<?=$this->transEsc('bookbag_save_selected')?>" value="<?=$this->transEsc('Save')?>"/> + <input id="ribbon-save" class="btn btn-default" type="submit" name="saveCart" title="<?=$this->transEsc('bookbag_save_selected')?>" value="<?=$this->transEsc('Save')?>"/> <? endif; ?> <? endif; ?> <? if (isset($this->showCartControls) && $this->showCartControls): ?> -- GitLab