diff -r 8c6bd0ac6424 -r 46e128be7e1c src/pyams_skin/resources/js/myams-plugins-loader.min.js --- a/src/pyams_skin/resources/js/myams-plugins-loader.min.js Mon Nov 26 11:00:18 2018 +0100 +++ b/src/pyams_skin/resources/js/myams-plugins-loader.min.js Mon Nov 26 11:01:43 2018 +0100 @@ -1,1 +1,1 @@ -!function(f,a){var n=a.MyAMS,p=n;n.plugins={enabled:{},init:function(c){p.plugins.initData(c);var e=[];f("[data-ams-plugins-disabled]",c).each(function(){for(var a=f(this).data("ams-plugins-disabled").split(/\s+/),n=0;n=0)){var u=s.plugins.enabled[o];if(u)switch(typeof u){case"function":u(n);break;default:for(var g=0;g=0)console&&console.warn&&console.warn("Plugin "+n+" is already registered!");else if("object"==typeof a){var t=a.src;t?s.ajax.check(a.callback,t,function(t){t&&(s.plugins.enabled[n]=s.getFunctionByName(a.callback),a.css&&s.getCSS(a.css,n+"_css"),e&&s.executeFunctionByName(e))}):(s.plugins.enabled[n]=s.getFunctionByName(a.callback),a.css&&s.getCSS(a.css,n+"_css"),e&&s.executeFunctionByName(e))}else"function"==typeof a&&(s.plugins.enabled[n]=a,e&&s.executeFunctionByName(e))}}}(jQuery,this);