Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2040
2241b.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 8:29 PM
2014-11-21 20:29:45 (UTC+0)
Size
707 B
Referenced Files
None
Subscribers
None
2241b.patch
View Options
Index: skins/common/wikibits.js
===================================================================
--- skins/common/wikibits.js (revision 15999)
+++ skins/common/wikibits.js (working copy)
@@ -485,8 +485,16 @@
}
if (a) {
- a.accessKey = ta[id][0];
- ak = ' ['+pref+ta[id][0]+']';
+ if (
+ (id != 'ca-watch' && id != 'ca-unwatch')
+ || (
+ (id == 'ca-watch' || id == 'ca-unwatch')
+ && !(window.location.search.match(new RegExp("[\?&](action=edit|action=submit)","i")))
+ )
+ ) {
+ a.accessKey = ta[id][0];
+ ak = ' ['+pref+ta[id][0]+']';
+ }
}
} else {
// We don't care what type the object is when assigning tooltip
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1617
Default Alt Text
2241b.patch (707 B)
Attached To
Mode
T4241: Colliding duplicate use of 'w' and 'd' shortcut keys
Attached
Detach File
Event Timeline
Log In to Comment