Skip to content
Snippets Groups Projects
Commit c040c38f authored by Chris Hallberg's avatar Chris Hallberg Committed by Demian Katz
Browse files

Removing data-lightbox from submit buttons.

parent 8221b8f5
Branches
Tags
No related merge requests found
...@@ -106,10 +106,7 @@ VuFind.lightbox = (function() { ...@@ -106,10 +106,7 @@ VuFind.lightbox = (function() {
/** /**
* Modal link data options * 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-ignore = do not open this link in lightbox
* data-lightbox-post = post json for link ajax
*/ */
var _constrainLink = function(event) { var _constrainLink = function(event) {
if (typeof this.dataset.lightboxIgnore != 'undefined') { if (typeof this.dataset.lightboxIgnore != 'undefined') {
......
...@@ -9,13 +9,13 @@ ...@@ -9,13 +9,13 @@
</div> </div>
<div class="btn-group"> <div class="btn-group">
<? if (isset($this->showBulkOptions) && $this->showBulkOptions): ?> <? 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): ?> <? $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; ?> <? 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'): ?> <? 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; ?>
<? endif; ?> <? endif; ?>
<? if (isset($this->showCartControls) && $this->showCartControls): ?> <? if (isset($this->showCartControls) && $this->showCartControls): ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment