// Fix attr('checked'), attr('disabled') and attr('selected') with jquery update #PSCFV-2142

This commit is contained in:
rMalie
2012-05-02 08:29:30 +00:00
parent faea9caafb
commit d0b4e96ab3
17 changed files with 43 additions and 43 deletions

View File

@@ -394,7 +394,7 @@
function disableConstraint()
{
$('#constraint').attr('disabled', 'disabled');
$('#constraint').attr('disabled', true);
};
function ShowHandlers()
{
@@ -496,7 +496,7 @@
*/
function cancelChangeMode()
{
$('#formAction input[@value=' + $('#image_mode').val() + ']').attr('checked', 'checked');
$('#formAction input[@value=' + $('#image_mode').val() + ']').attr('checked', true);
};
/**
* get the image element which is going to be modified
@@ -669,7 +669,7 @@ function toggleDisabledButton(buttonId, forceDisable)
if(forceDisable && currentClass == 'button')
{
newClass = 'disabledButton';
$(disabledButton).attr('disabled', 'disabled');
$(disabledButton).attr('disabled', true);
}else if(!forceDisable && currentClass == 'disabledButton')
{
newClass = 'button';
@@ -684,7 +684,7 @@ function toggleDisabledButton(buttonId, forceDisable)
else if(currentClass == 'button')
{
newClass = 'disabledButton';
$(disabledButton).attr('disabled', 'disabled');
$(disabledButton).attr('disabled', true);
}else
{
newClass = 'button';