$this->clickAndWait("addItemDocmanMenu");
// ugly hack until we fix behavior in docman when no folders exist. We need to click twice on the link
$this->clickAndWait("addItemDocmanMenu");
- $this->clickAndWait("id=tabs-new-folder");
+ $this->clickAndWait("jquery#tabs-new-folder");
$this->type("groupname", "renamedirectory");
$this->clickAndWait("submitaddsubgroup");
$this->clickAndWait("id=listFileDocmanMenu");
if (preg_match('/^jquery#/', $link)) {
$elementid = substr($link, 7);
$this->execute(array(
- 'script' => "jQuery('a[href=\"#$elementid\").click()",
+ 'script' => "jQuery('a[href=\"#$elementid\"').click()",
'args' => array(),
));
} else {