CoreFiles by mySites.guru
tag.min.js1 lines, 909 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
0074085de80574ea9dc3b0ab8bb47e66
sha1
bb1c52c852d4075b370b51fd3921ddcd740292c4
sha256
18e5d758be3da6d2bea1f47617fd0e7fd9b74fa36b91f7d51b686cc9264ed0aa
jQuery(document).ready(function(e){if(Joomla.getOptions("field-tag-custom")){var t=Joomla.getOptions("field-tag-custom");e(t.selector+"_chzn input").keyup(function(i){var l;if(this.value&&this.value.length>=t.minTermLength&&(13===i.which||188===i.which)){var r=e(t.selector+"_chzn").find("li.active-result.highlighted").first();if(13===i.which&&""!==r.text()){var n="#new#"+r.text();e(t.selector+" option").filter(function(){return e(this).val()==n}).remove(),(l=e(t.selector+" option").filter(function(){return e(this).html()==r.text()})).attr("selected","selected")}else{var s=this.value;if(""!==(l=e(t.selector+" option").filter(function(){return e(this).html()==s})).text())l.attr("selected","selected");else{var o=e("<option>");o.text(this.value).val("#new#"+this.value),o.attr("selected","selected"),e(t.selector).append(o)}}this.value="",e(t.selector).trigger("liszt:updated"),i.preventDefault()}})}});

The same content is in 2 releases, Joomla 4.0.0-alpha2 to 4.0.0-alpha3. See them all, or every version of this file.