mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:41 +01:00
fix for bug #2653 - editing imap-folders is without function
renaming of imap folders was not working, because top_window().tree was used, instead of window.tree, as tree is in that case in the same window
This commit is contained in:
parent
870ba2203b
commit
5bbd63523e
@ -950,8 +950,8 @@
|
|||||||
#$hasChildren = false;
|
#$hasChildren = false;
|
||||||
#if ($folderStatus['attributes'][0]=="\\HasChildren") $hasChildren=true;
|
#if ($folderStatus['attributes'][0]=="\\HasChildren") $hasChildren=true;
|
||||||
}
|
}
|
||||||
$response->addScript("egw_topWindow().tree.deleteItem('$_oldFolderName',0);");
|
$response->addScript("window.tree.deleteItem('$_oldFolderName',0);");
|
||||||
$response->addScript("egw_topWindow().tree.insertNewItem('$_parentFolder','$newFolderName','$folderName',onNodeSelect,'folderClosed.gif',0,0,'CHILD,CHECKED,SELECT,CALL');");
|
$response->addScript("window.tree.insertNewItem('$_parentFolder','$newFolderName','$folderName',onNodeSelect,'MailFolderPlain.png',0,0,'CHILD,CHECKED,SELECT,CALL');");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $response->getXML();
|
return $response->getXML();
|
||||||
|
Loading…
Reference in New Issue
Block a user