2012-07-31 08:16:54 +02:00
|
|
|
(function($) {
|
|
|
|
|
|
|
|
$.entwine('ss', function($) {
|
|
|
|
|
2012-08-03 02:18:55 +02:00
|
|
|
$('#DocumentTypeID ul li').entwine({
|
2012-08-06 07:33:52 +02:00
|
|
|
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');
|
|
|
|
},
|
|
|
|
});
|
2012-08-03 02:18:55 +02:00
|
|
|
|
2012-08-06 07:33:52 +02:00
|
|
|
$('#DocumentTypeID input[type=radio]').entwine({
|
|
|
|
onadd: function() {
|
|
|
|
if (this.is(':checked')) {
|
|
|
|
this.change();
|
2012-08-03 02:18:55 +02:00
|
|
|
}
|
|
|
|
},
|
2012-08-06 07:33:52 +02:00
|
|
|
onchange: function(e) {
|
|
|
|
$('#DocumentTypeID').find('li').removeClass('selected');
|
|
|
|
|
|
|
|
if (this.is(':checked')) {
|
|
|
|
this.parent('li').addClass('selected');
|
|
|
|
}
|
|
|
|
}
|
2012-08-03 02:18:55 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
$('#Actions ul li').entwine({
|
|
|
|
onclick: function(e) {
|
|
|
|
e.preventDefault();
|
2012-08-03 06:17:19 +02:00
|
|
|
this.parents('fieldset').find('#ReplaceFile').show();
|
2012-08-03 02:18:55 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2012-07-31 08:16:54 +02:00
|
|
|
});
|
2012-08-03 02:18:55 +02:00
|
|
|
|
|
|
|
}(jQuery));
|