mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
BUGFIX: IE document type buttons not applying selected styling
This commit is contained in:
parent
3488d947d2
commit
2038fb9829
@ -7,10 +7,16 @@
|
|||||||
onadd: function() {
|
onadd: function() {
|
||||||
this.addClass('ui-button ss-ui-button ui-corner-all ui-state-default ui-widget ui-button-text-only');
|
this.addClass('ui-button ss-ui-button ui-corner-all ui-state-default ui-widget ui-button-text-only');
|
||||||
this.parents('ul').removeClass('ui-tabs-nav');
|
this.parents('ul').removeClass('ui-tabs-nav');
|
||||||
|
if(this.find('input').is(':checked')) this.addClass('selected');
|
||||||
|
},
|
||||||
|
onclick: function(e){
|
||||||
|
$('#DocumentTypeID').find('li.selected').removeClass('selected');
|
||||||
|
this.find('input').prop("checked", true);
|
||||||
|
this.addClass('selected');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#DocumentTypeID input[type=radio]').entwine({
|
/* $('#DocumentTypeID input[type=radio]').entwine({
|
||||||
onadd: function() {
|
onadd: function() {
|
||||||
// Checks to see what radio button is selected
|
// Checks to see what radio button is selected
|
||||||
if (this.is(':checked')) {
|
if (this.is(':checked')) {
|
||||||
@ -25,7 +31,7 @@
|
|||||||
this.parent('li').addClass('selected');
|
this.parent('li').addClass('selected');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});*/
|
||||||
|
|
||||||
$('#Actions ul li').entwine({
|
$('#Actions ul li').entwine({
|
||||||
onclick: function(e) {
|
onclick: function(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user