mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
Remove some more old code, favorites now in framework
This commit is contained in:
parent
f9b34a4c56
commit
af51f8a102
@ -292,13 +292,6 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove some internal values
|
|
||||||
delete current_filters[this.id];
|
|
||||||
if(this.popup.group != undefined)
|
|
||||||
{
|
|
||||||
delete current_filters[this.popup.group.id];
|
|
||||||
}
|
|
||||||
|
|
||||||
// Call framework
|
// Call framework
|
||||||
app[this.options.app].add_favorite(current_filters);
|
app[this.options.app].add_favorite(current_filters);
|
||||||
|
|
||||||
@ -313,6 +306,8 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
|
|||||||
return this._super.apply(filter_name);
|
return this._super.apply(filter_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(filter_name == 'add') return false;
|
||||||
|
|
||||||
app[this.options.app].setState(this.stored_filters[filter_name]);
|
app[this.options.app].setState(this.stored_filters[filter_name]);
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user