mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:49:44 +01:00
fix to allow session-id in the url too
This commit is contained in:
parent
ac060de053
commit
e47230d451
@ -968,10 +968,11 @@
|
|||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
function edit_widget(path)
|
function edit_widget(path)
|
||||||
{
|
{
|
||||||
window.open("'.$GLOBALS['phpgw']->link('/index.php',$this->etemplate->as_array(-1)+array(
|
var url = "'.$GLOBALS['phpgw']->link('/index.php',$this->etemplate->as_array(-1)+array(
|
||||||
'menuaction' => 'etemplate.editor.widget',
|
'menuaction' => 'etemplate.editor.widget',
|
||||||
'path' => '' // has to be last !
|
)).'";
|
||||||
)).'"+path,"etemplate_editor_widget","dependent=yes,width=600,height=450,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes");
|
url = url.replace(/index.php\\?/,"index.php?path="+path+"&");
|
||||||
|
window.open(url,"etemplate_editor_widget","dependent=yes,width=600,height=450,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes");
|
||||||
}
|
}
|
||||||
</script>';
|
</script>';
|
||||||
$editor->data[$editor->rows]['A']['obj'] = &$this->etemplate;
|
$editor->data[$editor->rows]['A']['obj'] = &$this->etemplate;
|
||||||
|
Loading…
Reference in New Issue
Block a user