mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Not using ECS6 features because UglifyJs would fail
This commit is contained in:
parent
0499f50943
commit
74b4ff908e
@ -982,10 +982,12 @@ app.classes.mail = AppJS.extend(
|
|||||||
if(widget == null) continue;
|
if(widget == null) continue;
|
||||||
widget.set_value(dataElem.data[data_widgets[id]] || "");
|
widget.set_value(dataElem.data[data_widgets[id]] || "");
|
||||||
}
|
}
|
||||||
['smime_signature', 'smime_encryption'].forEach(id =>
|
var smime_widgets = ['smime_signature', 'smime_encryption'];
|
||||||
|
|
||||||
|
for (var i in smime_widgets)
|
||||||
{
|
{
|
||||||
var widget = this.et2.getWidgetById(id);
|
var widget = this.et2.getWidgetById(smime_widgets[i]);
|
||||||
switch (id)
|
switch (smime_widgets[i])
|
||||||
{
|
{
|
||||||
case 'smime_signature':
|
case 'smime_signature':
|
||||||
widget.set_disabled(!(dataElem.data.smime == 'smimeSignature'));
|
widget.set_disabled(!(dataElem.data.smime == 'smimeSignature'));
|
||||||
@ -996,7 +998,8 @@ app.classes.mail = AppJS.extend(
|
|||||||
default:
|
default:
|
||||||
widget.set_disabled(true);
|
widget.set_disabled(true);
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
|
||||||
// Blank first, so we don't show previous email while loading
|
// Blank first, so we don't show previous email while loading
|
||||||
var IframeHandle = this.et2.getWidgetById('messageIFRAME');
|
var IframeHandle = this.et2.getWidgetById('messageIFRAME');
|
||||||
IframeHandle.set_src('about:blank');
|
IframeHandle.set_src('about:blank');
|
||||||
|
Loading…
Reference in New Issue
Block a user