diff -r 000000000000 -r 3b84c6308d55 src/pyams_skin/resources/js/myams-error.min.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/pyams_skin/resources/js/myams-error.min.js Wed Dec 05 13:13:47 2018 +0100 @@ -0,0 +1,1 @@ +!function(e,o){var n=o.MyAMS,r=n;n.error={ajax:function(e,o,n,t){if(!("abort"===t||o&&o.statusText&&"OK"===o.statusText.toUpperCase())){if("json"===(o=r.ajax.getResponse(o)).contentType)r.ajax.handleJSON(o.data);else{var a=t||e.statusText||e.type,s=o.responseText;r.skin.messageBox("error",{title:r.i18n.ERROR_OCCURED,content:"

"+a+"

"+(s||"")+"

",icon:"fa fa-warning animated shake",timeout:1e4})}console&&(console.error&&console.error(e),console.debug&&console.debug(o))}},show:function(e,o,n){if(n){var t=r.ajax.getResponse(e);"json"===t.contentType?r.ajax.handleJSON(t.data):r.skin.messageBox("error",{title:r.i18n.ERRORS_OCCURED,content:"

"+o+"

"+n+"

",icon:"fa fa-warning animated shake",timeout:1e4}),console&&(console.error&&console.error(n),console.debug&&console.debug(e))}}}}(jQuery,this);