forked from extern/egroupware
Fix opening file sharing compose dialog sets the password field automatically in Safari
This commit is contained in:
parent
5cd3569f67
commit
32b07bd12e
@ -218,6 +218,13 @@ app.classes.mail = AppJS.extend(
|
|||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 'mail.compose':
|
case 'mail.compose':
|
||||||
|
// Set password field of file sharing to empty in
|
||||||
|
// initialization because safari does not respect
|
||||||
|
// autocomplete-off attribute. This hack should be
|
||||||
|
// removed once the issue is solved.
|
||||||
|
var password = this.et2.getWidgetById('password');
|
||||||
|
if (password) password.set_value('');
|
||||||
|
|
||||||
if (this.et2.getWidgetById('composeToolbar')._actionManager.getActionById('pgp') &&
|
if (this.et2.getWidgetById('composeToolbar')._actionManager.getActionById('pgp') &&
|
||||||
this.et2.getWidgetById('composeToolbar')._actionManager.getActionById('pgp').checked ||
|
this.et2.getWidgetById('composeToolbar')._actionManager.getActionById('pgp').checked ||
|
||||||
this.et2.getArrayMgr('content').data.mail_plaintext &&
|
this.et2.getArrayMgr('content').data.mail_plaintext &&
|
||||||
|
Loading…
Reference in New Issue
Block a user