mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1052 from kinglozzer/leftandmain-preview-click-bug
BUG: Right click on LeftAndMain menu caused CMS preview pane to open
This commit is contained in:
commit
013f4cfe88
@ -168,7 +168,8 @@ jQuery.noConflict();
|
||||
* Ensure the user can see the requested section - restore the default view.
|
||||
*/
|
||||
'from .cms-menu-list li a': {
|
||||
onclick: function() {
|
||||
onclick: function(e) {
|
||||
if(e.which > 1) return;
|
||||
this.splitViewMode();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user