Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F727177
D271.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 6, 8:24 AM
Size
514 B
Mime Type
text/x-diff
Expires
Tue, Jan 7, 8:24 AM (3 d, 1 h ago)
Engine
blob
Format
Raw Data
Handle
537228
Attached To
D271: INP-1658 - Don't trigger clicks inside click event handler of CMS revision history dropdown
D271.diff
View Options
Index: branches/5.2.x/core/admin_templates/js/template_manager.js
===================================================================
--- branches/5.2.x/core/admin_templates/js/template_manager.js
+++ branches/5.2.x/core/admin_templates/js/template_manager.js
@@ -183,9 +183,9 @@
});
$('body').on('click', '#cms-revision-dropdown .top .item', function ($e) {
- $('a:first', this).click();
-
- $e.preventDefault();
+ window.location.assign(
+ $('a:first', this).attr('href')
+ );
});
setInterval(
Event Timeline
Log In to Comment