BUGFIX: IE document type buttons not applying selected styling

This commit is contained in:
Normann Lou 2012-08-22 15:34:11 +12:00
parent 3488d947d2
commit 2038fb9829
1 changed files with 8 additions and 2 deletions

View File

@ -7,10 +7,16 @@
onadd: function() {
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');
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() {
// Checks to see what radio button is selected
if (this.is(':checked')) {
@ -25,7 +31,7 @@
this.parent('li').addClass('selected');
}
}
});
});*/
$('#Actions ul li').entwine({
onclick: function(e) {