Bug 16239: Update javascript files

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Josef Moravec 2016-11-10 09:59:00 +00:00 committed by Kyle M Hall
parent 2686d70bc0
commit a4f5850124

View file

@ -152,10 +152,10 @@ $(document).ready(function() {
if ( oObj.found ) {
return "";
} else if ( oObj.suspend == 1 ) {
return "<a class='hold-resume btn btn-mini' id='resume" + oObj.reserve_id + "'>"
return "<a class='hold-resume btn btn-default btn-xs' id='resume" + oObj.reserve_id + "'>"
+ "<i class='fa fa-play'></i> " + RESUME + "</a>";
} else {
return "<a class='hold-suspend btn btn-mini' id='suspend" + oObj.reserve_id + "'>"
return "<a class='hold-suspend btn btn-default btn-xs' id='suspend" + oObj.reserve_id + "'>"
+ "<i class='fa fa-pause'></i> " + SUSPEND + "</a>";
}
}
@ -229,7 +229,9 @@ $(document).ready(function() {
}
$("body").append("\
<div id='suspend-modal' class='modal hide fade' tabindex='-1' role='dialog' aria-hidden='true'>\
<div id='suspend-modal' class='modal fade' tabindex='-1' role='dialog' aria-hidden='true'>\
<div class='modal-dialog'>\
<div class='modal-content'>\
<form id='suspend-modal-form' class='form-inline'>\
<div class='modal-header'>\
<button type='button' class='closebtn' data-dismiss='modal' aria-hidden='true'>×</button>\
@ -252,6 +254,8 @@ $(document).ready(function() {
</div>\
</form>\
</div>\
</div>\
</div>\
");
$("#suspend-modal-until").datepicker({ minDate: 1 }); // Require that "until date" be in the future