CoreFiles by mySites.guru
cms.js1 lines, 1,353 bytes, from Joomla_3.6.3-Stable-Full_Package.zip
Raw History Compare with 3.6.2
md5
cb26fc430e4c89f71f8b0716597f7837
sha1
9d1c9149e7ca05940a024d0f183c215daf9961f8
sha256
0b857e8fd5f4e2ce53bfa33aeab8779a41eb87723b1ab7446e63de0606712317
if("undefined"==typeof Joomla)var Joomla={};Joomla.setcollapse=function(a,b,c){document.getElementById("collapse-"+b)||(document.getElementById("container-collapse").innerHTML='<div class="collapse fade" id="collapse-'+b+'"><iframe class="iframe" src="'+a+'" height="'+c+'" width="100%"></iframe></div>')},Array.prototype.indexOf||(Array.prototype.indexOf=function(a){var b=this.length>>>0,c=Number(arguments[1])||0;for(c=c<0?Math.ceil(c):Math.floor(c),c<0&&(c+=b);c<b;c++)if(c in this&&this[c]===a)return c;return-1}),jQuery&&jQuery(document).ready(function(a){var b=function(b){var d,c=!0,e=b.data("showon");a.each(e,function(b,f){$fields=a('[name="'+e[b].field+'"], [name="'+e[b].field+'[]"]'),e[b].valid=0,$fields.each(function(){d=["checkbox","radio"].indexOf(a(this).attr("type"))!=-1?a(this).prop("checked")?a(this).val():"":a(this).val(),"object"!=typeof d&&(d=JSON.parse('["'+d+'"]'));for(var c in d)e[b].values.indexOf(d[c])!=-1&&(e[b].valid=1)}),""==e[b].op?0==e[b].valid&&(c=!1):("AND"==e[b].op&&e[b].valid+e[b-1].valid<2&&(c=!1),"OR"==e[b].op&&e[b].valid+e[b-1].valid>0&&(c=!0))}),c?b.slideDown():b.slideUp()};a("[data-showon]").each(function(){var c=a(this),d=a(this).data("showon");a.each(d,function(e,f){$fields=a('[name="'+d[e].field+'"], [name="'+d[e].field+'[]"]'),$fields.each(function(){b(c)}).bind("change",function(){b(c)})})})});

The same content is in 6 releases, Joomla 3.6.3-rc1 to 3.6.5. See them all, or every version of this file.