appending modification time to eTemplate url

This commit is contained in:
Ralf Becker 2013-10-10 08:19:20 +00:00
parent f12ab66b07
commit 47c3495a86

View File

@ -162,7 +162,7 @@ class etemplate_new extends etemplate_widget_template
$dom_id = str_replace('.','-',$this->name); $dom_id = str_replace('.','-',$this->name);
$load_array = array( $load_array = array(
'name' => $this->name, 'name' => $this->name,
'url' => $GLOBALS['egw_info']['server']['webserver_url'].$this->rel_path, 'url' => $GLOBALS['egw_info']['server']['webserver_url'].$this->rel_path.'?'.filemtime(EGW_SERVER_ROOT.$this->rel_path),
'data' => $data, 'data' => $data,
'DOMNodeID' => $dom_id, 'DOMNodeID' => $dom_id,
); );