mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
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(
|
$filters = array(
|
||||||
'blank' => array(
|
'blank' => array(
|
||||||
'name' => lang('No filters'),
|
'name' => lang('No filters'),
|
||||||
'filters' => array()
|
'filters' => array(),
|
||||||
|
'group' => true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$default_filter = $GLOBALS['egw_info']['user']['preferences'][$app][$default];
|
$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)
|
if(this.sidebox_target.length)
|
||||||
{
|
{
|
||||||
this.sidebox_target
|
this.sidebox_target
|
||||||
|
.off("mouseenter mouseleave click")
|
||||||
.on("mouseenter","div.ui-icon-trash", function() {$j(this).wrap("<span class='ui-state-active'/>");})
|
.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("mouseleave","div.ui-icon-trash", function() {$j(this).unwrap();})
|
||||||
.on("click","div.ui-icon-trash", this, this.delete_favorite)
|
.on("click","div.ui-icon-trash", this, this.delete_favorite)
|
||||||
|
Loading…
Reference in New Issue
Block a user