Skip to content
Snippets Groups Projects
Commit 6c3723a0 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Translate close in lightbox. Bootstrap.

parent 01e18e03
Branches
Tags
No related merge requests found
...@@ -174,7 +174,7 @@ $(document).ready(function() { ...@@ -174,7 +174,7 @@ $(document).ready(function() {
}); });
addLightboxFormHandler('bulkSave', function(){ addLightboxFormHandler('bulkSave', function(){
ajaxSubmit($(this), function(x) { ajaxSubmit($(this), function(x) {
changeModalContent('<div class="alert alert-info">'+vufindString['bulk_save_success']+'</div><button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>'); changeModalContent('<div class="alert alert-info">'+vufindString['bulk_save_success']+'</div><button class="btn" data-dismiss="modal" aria-hidden="true">'+vufindString['close']+'</button>');
}); });
// After we close the lightbox, redirect to list view // After we close the lightbox, redirect to list view
addLightboxOnClose(function() { addLightboxOnClose(function() {
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
'bulk_noitems_advice' => 'bulk_noitems_advice', 'bulk_noitems_advice' => 'bulk_noitems_advice',
'bulk_save_success' => 'bulk_save_success', 'bulk_save_success' => 'bulk_save_success',
'confirmEmpty' => 'bookbag_confirm_empty', 'confirmEmpty' => 'bookbag_confirm_empty',
'close' => 'close',
'viewBookBag' => 'View Book Bag', 'viewBookBag' => 'View Book Bag',
'addBookBag' => 'Add to Book Bag', 'addBookBag' => 'Add to Book Bag',
'removeBookBag' => 'Remove from Book Bag', 'removeBookBag' => 'Remove from Book Bag',
......
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