diff -r 4f5d2b45814f -r 6ca0da3caede src/pyams_skin/resources/js/myams-notify.min.js --- a/src/pyams_skin/resources/js/myams-notify.min.js Mon Dec 17 10:24:14 2018 +0100 +++ b/src/pyams_skin/resources/js/myams-notify.min.js Mon Dec 17 14:33:36 2018 +0100 @@ -1,1 +1,1 @@ -!function(t,o){"use strict";t(document).ready(function(){t("body").append("
").append("").append("")});var i,e=0,a=0,s=0,n=0,l=0,c=o.MyAMS;c.notify={messageBox:function(i,s){var n,l,d=c.browser&&c.browser.isIE8orlower(),r={title:"",content:"",status:"",NormalButton:void 0,ActiveButton:void 0,buttons:void 0,input:void 0,placeholder:"",options:void 0,sound:void 0},u=t.extend({},r,i);if(u.sound&&0===d){var v=document.createElement("audio");navigator.userAgent.match("Firefox/")?v.setAttribute("src",c.baseURL+"../sound/message.ogg"):v.setAttribute("src",c.baseURL+"../sound/message.mp3"),t.get(),v.addEventListener("load",function(){v.play()},!0),v.pause(),v.play()}a+=1,0===e&&(e=1,n="",t("body").append(n),d&&t("#MsgBoxBack").addClass("MessageIE"));var m,h="",p=0,f="",b=0;if(void 0!==u.input)switch(p=1,u.input=u.input.toLowerCase(),u.input){case"text":case"password":h=""+u.content+"
",l+=h,l+=""+o.content+"
",e+=""+o.content+"
"+o.content+"
"+n.content+"
",o+=c,o+=""+o.content+"
",t+=""+o.content+"
"+o.content+"