From 63d870bd40fb2b32588a4927e94ed4c70fc0091f Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Tue, 15 Dec 2015 15:17:36 -0500 Subject: [PATCH] Place hold message fix. --- themes/bootstrap3/js/record.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js index eb96182b8d7..646ec185223 100644 --- a/themes/bootstrap3/js/record.js +++ b/themes/bootstrap3/js/record.js @@ -307,10 +307,10 @@ function recordDocReady() { }); Lightbox.addFormCallback('placeHold', function(html) { Lightbox.checkForError(html, function(html) { - var divPattern = '<div class="alert alert-info">'; + var divPattern = '<div class="alert alert-success">'; var fi = html.indexOf(divPattern); var li = html.indexOf('</div>', fi+divPattern.length); - Lightbox.confirm(html.substring(fi+divPattern.length, li).replace(/^[\s<>]+|[\s<>]+$/g, '')); + Lightbox.success(html.substring(fi+divPattern.length, li).replace(/^[\s<>]+|[\s<>]+$/g, '')); }); }); Lightbox.addFormCallback('placeILLRequest', function() { -- GitLab