Bug 29960: (follow-up) Include enquire.js in print slip template
This patch adds enquire.js to the print slip template in order to prevent a JS error. Also removed is a line from global.js which was added in the previous patch and which was an unwanted change. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
6596f76817
commit
985c32398f
2 changed files with 1 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
|||
[% Asset.js("lib/jquery/jquery-3.4.1.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/jquery-migrate-3.1.0.min.js") | $raw %]
|
||||
[% Asset.js("lib/fontfaceobserver.min.js") | $raw %]
|
||||
[% Asset.js("lib/enquire.min.js") | $raw %]
|
||||
[% Asset.js("js/global.js") | $raw %]
|
||||
|
||||
[% INCLUDE 'slip-print.inc' #printThenClose %]
|
||||
|
|
|
@ -230,5 +230,3 @@ $(document).ready(function(){
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
$.fn.modal.Constructor.prototype.enforceFocus = function () {};
|
||||
|
|
Loading…
Reference in a new issue