forked from extern/egroupware
Fix multiple delete confirmations
This commit is contained in:
parent
6204999b19
commit
3e09f30480
@ -846,7 +846,8 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
$filters = array(
|
||||
'blank' => array(
|
||||
'name' => lang('No filters'),
|
||||
'filters' => array()
|
||||
'filters' => array(),
|
||||
'group' => true
|
||||
)
|
||||
);
|
||||
$default_filter = $GLOBALS['egw_info']['user']['preferences'][$app][$default];
|
||||
|
@ -122,6 +122,7 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],{
|
||||
if(this.sidebox_target.length)
|
||||
{
|
||||
this.sidebox_target
|
||||
.off("mouseenter mouseleave click")
|
||||
.on("mouseenter","div.ui-icon-trash", function() {$j(this).wrap("<span class='ui-state-active'/>");})
|
||||
.on("mouseleave","div.ui-icon-trash", function() {$j(this).unwrap();})
|
||||
.on("click","div.ui-icon-trash", this, this.delete_favorite)
|
||||
|
Loading…
Reference in New Issue
Block a user