Fix autoselected radioBottons for actions group in mail->sieve->edit popup

This commit is contained in:
Hadi Nategh 2013-10-09 16:44:03 +00:00
parent f40f41a7d4
commit 603fb8e782
2 changed files with 20 additions and 19 deletions

View File

@ -52,6 +52,7 @@ app.mail = AppJS.extend(
destroy: function() destroy: function()
{ {
delete this.et2; delete this.et2;
delete this.et2_obj;
// call parent // call parent
this._super.apply(this, arguments); this._super.apply(this, arguments);
}, },

View File

@ -90,23 +90,23 @@
</columns> </columns>
<rows> <rows>
<row> <row>
<radio label="File into:" id="action[]" options="folder"/> <radio label="File into:" id="action" options="folder"/>
<hbox> <hbox>
<taglist id="action_folder_text" width="40%" autocomplete_url="mail.mail_compose.ajax_searchFolder" autocomplete_params="" allowFreeEntries="false" maxSelection="1" /> <taglist id="action_folder_text" width="40%" autocomplete_url="mail.mail_compose.ajax_searchFolder" autocomplete_params="" allowFreeEntries="false" maxSelection="1" onfocus="app.mail.sieve_focus_radioBtn" />
</hbox> </hbox>
</row> </row>
<row> <row>
<radio label="Forward to address:" id="action[]" options="address"/> <radio label="Forward to address:" id="action" options="address"/>
<hbox> <hbox>
<taglist-email allowFreeEntries="true" id="action_address_text" width="40%" maxSelection="1" /> <taglist-email allowFreeEntries="true" id="action_address_text" width="40%" maxSelection="1" onfocus="app.mail.sieve_focus_radioBtn" />
</hbox> </hbox>
</row> </row>
<row> <row>
<radio label="Send a reject message:" id="action[]" options="reject"/> <radio label="Send a reject message:" id="action" options="reject"/>
<textbox multiline="true" id="action_reject_text"/> <textbox multiline="true" id="action_reject_text" onfocus="app.mail.sieve_focus_radioBtn" />
</row> </row>
<row> <row>
<radio label="Discard message" id="action[]" options="discard"/> <radio label="Discard message" id="action" options="discard"/>
<description/> <description/>
</row> </row>
</rows> </rows>