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

Place hold message fix.

parent 5befd3e4
No related merge requests found
......@@ -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() {
......
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