CoreFiles by mySites.guru
permissions.min.js1 lines, 2,145 bytes, from Joomla_3.6.0-alpha-Alpha-Full_Package.zip
Raw History Compare with 3.4.0-alpha
md5
546a88391c54f2b4dcad1f9791add0f9
sha1
53bd41c9e254714ccc0258825ee3516491b1c788
sha256
aafcd87bfd64cb0041be4d034f2397762609cee0f9f06ccf2797189ac3adf002
function sendPermissions(b){var i=document.getElementById("icon_"+this.id);i.removeAttribute("class");i.setAttribute("style","background: url(../media/system/images/modal/spinner.gif); display: inline-block; width: 16px; height: 16px");var e="not";var j=getUrlParam("component");var n=getUrlParam("extension");var g=getUrlParam("option");var k=getUrlParam("view");var l=j;var m=this.value;if(g=="com_config"&&j==false&&n==false){e="root.1"}else{if(n==false&&k=="component"){e=j}else{if(n!=false&&k!=false){e=n+"."+k+"."+getUrlParam("id");l=document.getElementById("jform_title").value}else{if(n==false&&k!=false){e=g+"."+k+"."+getUrlParam("id");l=document.getElementById("jform_title").value}}}}var c=this.id.replace("jform_rules_","");var o=c.lastIndexOf("_");var d=c.substring(0,o);var h=c.substring(o+1);var f="&comp="+e+"&action="+d+"&rule="+h+"&value="+m+"&title="+l;var a="index.php?option=com_config&task=config.store&format=raw"+f;jQuery.ajax({type:"GET",url:a,datatype:"JSON"}).success(function(p){var q=b.target;var s=JSON.parse(p);if(s.data=="true"){i.removeAttribute("style");i.setAttribute("class","icon-save");if(m=="1"){jQuery(q).parents().next("td").find("span").removeClass("label label-important").addClass("label label-success").html(Joomla.JText._('JLIB_RULES_ALLOWED'))}else{jQuery(q).parents().next("td").find("span").removeClass("label label-success").addClass("label label-important").html(Joomla.JText._('JLIB_RULES_NOT_ALLOWED'))}}else{var r={error:[Joomla.JText._("JLIB_RULES_DATABASE_FAILURE ")]};Joomla.renderMessages(r);i.removeAttribute("style");i.setAttribute("class","icon-cancel")}if(s.message==0){var r={error:[Joomla.JText._("JLIB_RULES_SAVE_BEFORE_CHANGE_PERMISSIONS")]};Joomla.renderMessages(r);i.removeAttribute("style");i.setAttribute("class","icon-cancel")}}).fail(function(){var p={error:[Joomla.JText._("JLIB_RULES_REQUEST_FAILURE")]};Joomla.renderMessages(p);i.removeAttribute("style");i.setAttribute("class","icon-cancel")})}function getUrlParam(a){var c=window.location.search.substring(1);var d=c.split("&");for(var b=0;b<d.length;b++){var e=d[b].split("=");if(e[0]==a){return e[1]}}return false};

No other release has this exact content. See every version of this file.