Skip to content

Commit

Permalink
Email lightbox fix for record view. Bootstrap. What else did you expect.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hallberg committed Feb 19, 2014
1 parent ab9e816 commit 8cb1bd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions themes/bootstrap/js/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ $(document).ready(function(){
addLightboxFormHandler('saveRecord', function(x) {
ajaxSubmit($(this), function(){lightboxConfirm(vufindString['bulk_save_success'])});
});
addLightboxFormHandler('emailRecord', function(x) {
ajaxSubmit($(this), function(){lightboxConfirm(vufindString['bulk_email_success'])});
});

// register the record comment form to be submitted via AJAX
registerAjaxCommentRecord();
Expand Down
1 change: 1 addition & 0 deletions themes/bootstrap/templates/layout/layout.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
$this->jsTranslations()->addStrings(
array(
'bulk_noitems_advice' => 'bulk_noitems_advice',
'bulk_email_success' => 'bulk_email_success',
'bulk_save_success' => 'bulk_save_success',
'confirmEmpty' => 'bookbag_confirm_empty',
'close' => 'close',
Expand Down

0 comments on commit 8cb1bd6

Please sign in to comment.