forked from extern/egroupware
Fix error deleting a favorite
This commit is contained in:
parent
e6eda6ddc8
commit
33f264346a
@ -180,7 +180,7 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
|
||||
// Add a listener on the delete to remove
|
||||
this.menu.on("click","div.ui-icon-trash", app[self.options.app], function() {
|
||||
// App instance might not be ready yet, so don't bind directly
|
||||
app[self.options.app].delete_favorite.apply(app[self.options.app],arguments);
|
||||
app[self.options.app].delete_favorite.apply(this,arguments);
|
||||
})
|
||||
// Wrap and unwrap because jQueryUI styles use a parent, and we don't want to change the state of the menu item
|
||||
// Wrap in a span instead of a div because div gets a border
|
||||
|
@ -647,7 +647,7 @@ var AppJS = Class.extend(
|
||||
// Remove line from list
|
||||
line.slideUp("slow", function() { });
|
||||
|
||||
trash._refresh_fav_nm();
|
||||
app._refresh_fav_nm();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user