Fix js warning about calling getDocumentByID() with empty argument
This commit is contained in:
parent
d8b261d981
commit
5a34e8e144
1 changed files with 4 additions and 0 deletions
|
@ -180,6 +180,10 @@ class tasklist_ui
|
|||
$jsenv = array();
|
||||
$lists = $this->plugin->driver->get_lists(0, $tree);
|
||||
|
||||
if (empty($attrib['id'])) {
|
||||
$attrib['id'] = 'rcmtasklistslist';
|
||||
}
|
||||
|
||||
// walk folder tree
|
||||
if (is_object($tree)) {
|
||||
$html = $this->list_tree_html($tree, $lists, $jsenv, $attrib);
|
||||
|
|
Loading…
Add table
Reference in a new issue