* eMail: reenable edit of existing sieve rules; needs doubleclick to open edit window

This commit is contained in:
Klaus Leithoff 2013-05-28 12:33:26 +00:00
parent 1aea9c01b6
commit 1ced446691
2 changed files with 7 additions and 1 deletions

View File

@ -870,6 +870,12 @@
$this->t->set_var('filter_text',htmlspecialchars($this->buildRule($rule),ENT_QUOTES,$GLOBALS['egw']->translation->charset()));
$this->t->set_var('ruleID',$ruleID);
$linkData = array
(
'menuaction' => 'felamimail.uisieve.editRule',
'ruleID' => $ruleID,
);
$this->t->set_var('url_edit_rule',$GLOBALS['egw']->link('/index.php',$linkData));
$linkData = array
(

View File

@ -73,7 +73,7 @@ var refreshURL='{refreshURL}';
{filter_status}
</td>
<td>
<a class="{ruleCSS}" href="#" onmouseover="window.status='Edit This Rule'; return true;" onmouseout="window.status='';">{filter_text}</a>
<a class="{ruleCSS}" href="#" ondblclick="fm_sieve_displayRuleEditWindow('{url_edit_rule}'); return false;" onmouseover="window.status='Edit This Rule'; return true;" onmouseout="window.status='';">{filter_text}</a>
</td>
</tr>
<!-- END filterrow -->