mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Applying button behaviour to .cms namespace in order to include dialogs as well
This commit is contained in:
parent
6d2b519484
commit
7af52b140b
@ -251,7 +251,7 @@
|
||||
* Also sets the clicked button on a form submission, making it available through
|
||||
* a new 'clickedButton' property on the form DOM element.
|
||||
*/
|
||||
$('.cms-container input[type="submit"], .cms-container button, .cms-container input[type="reset"]').entwine({
|
||||
$('.cms input[type="submit"], .cms button, .cms input[type="reset"]').entwine({
|
||||
onmatch: function() {
|
||||
this.addClass('ss-ui-button');
|
||||
this.redraw();
|
||||
|
Loading…
x
Reference in New Issue
Block a user