mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 14:30:05 +01:00
If link changes, update client side with new title when possible.
This commit is contained in:
parent
f8540288d8
commit
f17a896283
@ -1366,6 +1366,11 @@ class egw_link extends solink
|
|||||||
{
|
{
|
||||||
self::notify('update',$link['app'],$link['id'],$app,$id,$link_id,$data);
|
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