芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.7/legacy/js/joomla-chosen.min.js
!function(t,o,e){t.fn.jchosen=function(o){return e.browser_is_supported()?this.each((function(e){var s,i;i=(s=t(this)).data("chosen"),"destroy"!==o?i instanceof JoomlaChosen||s.data("chosen",new JoomlaChosen(this,o)):i instanceof JoomlaChosen&&i.destroy()})):this},JoomlaChosen=function(o){var e={}.hasOwnProperty;function s(){return _ref=s.__super__.constructor.apply(this,arguments),_ref}return function(t,o){for(var s in o)e.call(o,s)&&(t[s]=o[s]);function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i,t.__super__=o.prototype}(s,o),s.prototype.setup=function(){var t;return t=s.__super__.setup.apply(this,arguments),this.allow_custom_value=this.form_field_jq.hasClass("chosen-custom-value")||this.options.allow_custom_value,this.custom_value_prefix=this.form_field_jq.attr("data-custom_value_prefix")||this.custom_value_prefix,t},s.prototype.set_default_text=function(){return this.custom_group_text=this.form_field.getAttribute("data-custom_group_text")||this.options.custom_group_text||"Custom Value",s.__super__.set_default_text.apply(this,arguments)},s.prototype.result_select=function(o){var e,i,r;return this.result_highlight||this.is_multiple||!this.allow_custom_value?s.__super__.result_select.apply(this,arguments):(r=this.search_field.val(),e=this.add_unique_custom_group(),i=t('
'+r+"
"),e.append(i),this.form_field_jq.append(e),this.form_field.options[this.form_field.options.length-1].selected=!0,o.metaKey||this.results_hide(),this.results_build())},s.prototype.find_custom_group=function(){var o,e,s,i,r;for(s=0,i=(r=t("optgroup",this.form_field)).length;s
')),t(o)},s.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field_jq.css("width")||this.form_field.offsetWidth+"px"},s}(o)}(jQuery,document.Chosen,document.AbstractChosen);