If link changes, update client side with new title when possible.

This commit is contained in:
Nathan Gray 2014-10-01 16:20:18 +00:00
parent f8540288d8
commit f17a896283

View File

@ -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)))));
}
}
/**