mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Change blank filter label to 'No filters'
This commit is contained in:
parent
72fcd52f2d
commit
86321fa998
@ -844,7 +844,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
$pref_prefix = 'favorite_';
|
||||
$filters = array(
|
||||
'blank' => array(
|
||||
'name' => lang('Blank'),
|
||||
'name' => lang('No filters'),
|
||||
'filters' => array()
|
||||
)
|
||||
);
|
||||
|
@ -139,14 +139,14 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],{
|
||||
|
||||
// Save as default favorite - used when you click the button
|
||||
self.egw().set_preference(self.options.app,self.options.favorite_preference,$j(this).val());
|
||||
preferred = $j(this).val();
|
||||
self.preferred = $j(this).val();
|
||||
|
||||
// Update sidebox, if there
|
||||
if(self.sidebox_target.length)
|
||||
{
|
||||
self.sidebox_target.find(".ui-icon-heart")
|
||||
.replaceWith("<img class='sideboxstar'/>");
|
||||
$j("li#"+preferred+" img",self.sidebox_target)
|
||||
$j("li#"+self.preferred+" img",self.sidebox_target)
|
||||
.replaceWith("<div class='ui-icon ui-icon-heart'/>");
|
||||
|
||||
}
|
||||
@ -191,7 +191,7 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],{
|
||||
// Default blank filter
|
||||
var stored_filters = {
|
||||
'blank': {
|
||||
name: this.egw().lang("Blank"),
|
||||
name: this.egw().lang("No filters"),
|
||||
filters: {},
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user