mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fixing r53501: group-favorite has escaped name visible after reload
This commit is contained in:
parent
4615c6c3db
commit
cb58e015ac
@ -231,6 +231,7 @@ class egw_favorites
|
||||
'group' => $group ? $group : false,
|
||||
'state' => $filters
|
||||
);
|
||||
$pref_name = "favorite_".preg_replace('/[^A-Za-z0-9-_]/','_',$name);
|
||||
$result = $prefs->add($app,$pref_name,$filters,$type);
|
||||
$pref = $prefs->save_repository(false,$type);
|
||||
|
||||
|
@ -614,7 +614,7 @@ var AppJS = Class.extend(
|
||||
self.egw.jsonq(self.appname+'.egw_framework.ajax_set_favorite.template',
|
||||
[
|
||||
self.appname,
|
||||
safe_name,
|
||||
name.val(),
|
||||
"add",
|
||||
self.favorite_popup.group.get_value(),
|
||||
self.favorite_popup.state
|
||||
|
Loading…
Reference in New Issue
Block a user