mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Don't emulate built-in radiobutton behaviour in CMSMain.AddForm.js
This commit is contained in:
parent
748c0196cc
commit
2ac0ea78cf
@ -66,7 +66,6 @@
|
|||||||
$(".cms-add-form #PageType li").entwine({
|
$(".cms-add-form #PageType li").entwine({
|
||||||
setSelected: function(bool) {
|
setSelected: function(bool) {
|
||||||
this.toggleClass('selected', bool);
|
this.toggleClass('selected', bool);
|
||||||
this.find('input').attr('checked', bool ? 'checked' : null);
|
|
||||||
},
|
},
|
||||||
setEnabled: function(bool) {
|
setEnabled: function(bool) {
|
||||||
$(this).toggleClass('disabled', bool);
|
$(this).toggleClass('disabled', bool);
|
||||||
|
Loading…
Reference in New Issue
Block a user