mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #912 from kinglozzer/cms-page-add-button-focus
FIX: Prevent "Add Page" button being stuck 'focussed'
This commit is contained in:
commit
e009d0ef3d
@ -109,6 +109,9 @@
|
|||||||
$('.cms-container').loadPanel(url, null, data);
|
$('.cms-container').loadPanel(url, null, data);
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Remove focussed state from button
|
||||||
|
this.blur();
|
||||||
|
|
||||||
// $('.cms-page-add-form-dialog').dialog('open');
|
// $('.cms-page-add-form-dialog').dialog('open');
|
||||||
// e.preventDefault();
|
// e.preventDefault();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user