Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3044
wikibits6684.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:20 PM
2014-11-21 21:20:36 (UTC+0)
Size
568 B
Referenced Files
None
Subscribers
None
wikibits6684.diff
View Options
Index: wikibits.js
===================================================================
--- wikibits.js (revision 16049)
+++ wikibits.js (working copy)
@@ -366,10 +366,10 @@
if (!document.selection && textbox.selectionStart == null)
return false;
- for (var i in mwEditButtons) {
+ for (var i = 0; i < mwEditButtons.length; i++) {
mwInsertEditButton(toolbar, mwEditButtons[i]);
}
- for (var i in mwCustomEditButtons) {
+ for (var i = 0; i < mwCustomEditButtons.length; i++) {
mwInsertEditButton(toolbar, mwCustomEditButtons[i]);
}
return true;
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2614
Default Alt Text
wikibits6684.diff (568 B)
Attached To
Mode
T8684: Improper javascript array iteration causes problems
Attached
Detach File
Event Timeline
Log In to Comment