From 6ff6ed690a137f30ee6ed4d33cba927b480cf0ba Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 17 May 2014 20:52:16 +0200 Subject: [PATCH] This file shouldn't be here at all --- wcfsetup/install/files/js/WCF.Tagging.min.js | 1 - 1 file changed, 1 deletion(-) delete mode 100755 wcfsetup/install/files/js/WCF.Tagging.min.js diff --git a/wcfsetup/install/files/js/WCF.Tagging.min.js b/wcfsetup/install/files/js/WCF.Tagging.min.js deleted file mode 100755 index 37b174af7d..0000000000 --- a/wcfsetup/install/files/js/WCF.Tagging.min.js +++ /dev/null @@ -1 +0,0 @@ -WCF.Tagging={};WCF.Tagging.TagList=WCF.EditableItemList.extend({_className:"wcf\\data\\tag\\TagAction",_maxLength:0,init:function(c,a,b){this._allowCustomInput=true;this._maxLength=b;this._super(c,a);this._data=[];this._search=new WCF.Tagging.TagSearch(this._searchInput,$.proxy(this.addItem,this));this._itemList.addClass("tagList");$(c).data("__api",this)},_keyDown:function(b){if(this._super(b)){if(b===null){return true}var a=b.which;if(a===8||a===27||a===13||a===46){return true}else{if(a>36&&a<41){return true}}if(this._searchInput.val().length>=this._maxLength){return false}return true}return false},_submit:function(){this._super();for(var b=0,a=this._data.length;b').val(this._data[b]).appendTo(this._form)}}},addItem:function(b){if(!b.objectID&&b.label.length>this._maxLength){b.label=b.label.substr(0,this._maxLength)}if(WCF.inArray(b.label,this._data)){return true}var a=$('
  • '+WCF.String.escapeHTML(b.label)+"
  • ").data("objectID",b.objectID).data("label",b.label).appendTo(this._itemList);a.click($.proxy(this._click,this));if(this._search){this._search.addExcludedSearchValue(b.label)}this._addItem(b.objectID,b.label);return true},_addItem:function(b,a){this._data.push(a)},clearList:function(){this._super();this._data=[]},getTags:function(){return this._data},_removeItem:function(d,a){for(var c=0,b=this._data.length;c