mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
If link changes, update client side with new title when possible.
This commit is contained in:
parent
7aa20273f1
commit
80d81bfb44
@ -1366,6 +1366,11 @@ class egw_link extends solink
|
||||
{
|
||||
self::notify('update',$link['app'],$link['id'],$app,$id,$link_id,$data);
|
||||
}
|
||||
if($data[egw_link::OLD_LINK_TITLE] && egw_json_response::isJSONResponse())
|
||||
{
|
||||
// Update client side with new title
|
||||
egw_json_response::get()->apply('egw.link_title_callback',array(array($app => array($id => self::title($app, $id)))));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user