mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:19:06 +01:00
fixing r53501: group-favorite has escaped name visible after reload
This commit is contained in:
parent
dc09db26fa
commit
b55fcedaca
@ -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