|
|
@ -5863,11 +5863,10 @@ function rcube_webmail()
|
|
|
|
|
|
|
|
|
|
|
|
if (elm.type == 'hidden')
|
|
|
|
if (elm.type == 'hidden')
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
|
// remember which elem was disabled before lock
|
|
|
|
// remember which elem was disabled before lock
|
|
|
|
if (lock && elm.disabled)
|
|
|
|
if (lock && elm.disabled)
|
|
|
|
this.disabled_form_elements.push(elm);
|
|
|
|
this.disabled_form_elements.push(elm);
|
|
|
|
else if (lock || $.inArray(elm, this.disabled_form_elements)<0)
|
|
|
|
else if (lock || (this.disabled_form_elements && $.inArray(elm, this.disabled_form_elements)<0))
|
|
|
|
elm.disabled = lock;
|
|
|
|
elm.disabled = lock;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|