Page MenuHomePhabricator
Authored By
• bzimport
Nov 21 2014, 11:36 PM
Size
733 B
Referenced Files
None
Subscribers
None

patch.js

Index: UploadWizard/resources/jquery/jquery.mwCoolCats.js
===================================================================
--- UploadWizard/resources/jquery/jquery.mwCoolCats.js (Revision 98743)
+++ UploadWizard/resources/jquery/jquery.mwCoolCats.js (Arbeitskopie)
@@ -213,6 +213,12 @@
_processInput();
}
});
+
+ // Automatical add categories if the user forgot to hit the button. Don't add them when autocomplete/ suggestion-list is open.
+ _this.blur(function() {
+ if (_this.data('suggestions-context').data.mouseDownOn.length > 0) return;
+ _processInput();
+ });
this.getWikiText = function() {
var wikiText = _getCats().map( function() { return '[[' + this.getPrefixedText() + ']]'; } )

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7442
Default Alt Text
patch.js (733 B)

Event Timeline