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,15 +244,18 @@
|
|||||||
* Register the onclick handler that loads the page into EditForm
|
* Register the onclick handler that loads the page into EditForm
|
||||||
*/
|
*/
|
||||||
$("#SideReportsHolder form ul a").concrete({
|
$("#SideReportsHolder form ul a").concrete({
|
||||||
onclick: function() {
|
onclick: function(e) {
|
||||||
var $link = $(this);
|
if (e.button!=2) {
|
||||||
$link.addClass('loading');
|
var $link = $(this);
|
||||||
jQuery('#Form_EditForm').concrete('ss').loadForm(
|
$link.addClass('loading');
|
||||||
$(this).attr('href'),
|
jQuery('#Form_EditForm').concrete('ss').loadForm(
|
||||||
function(e) {
|
$(this).attr('href'),
|
||||||
$link.removeClass('loading');
|
function(e) {
|
||||||
}
|
$link.removeClass('loading');
|
||||||
);
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user