mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: add check for left mouse button
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95714 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
945de82ef9
commit
25698de5c2
@ -244,7 +244,8 @@
|
||||
* Register the onclick handler that loads the page into EditForm
|
||||
*/
|
||||
$("#SideReportsHolder form ul a").concrete({
|
||||
onclick: function() {
|
||||
onclick: function(e) {
|
||||
if (e.button!=2) {
|
||||
var $link = $(this);
|
||||
$link.addClass('loading');
|
||||
jQuery('#Form_EditForm').concrete('ss').loadForm(
|
||||
@ -253,6 +254,8 @@
|
||||
$link.removeClass('loading');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user