@@ -134,6 +143,8 @@ $(function()
var dropdown = '';
+
+ if(typeof(option.moduleType) != 'undefined' && option.moduleType == 'api') dropdown = dropdown.replace(/doc/g, 'api');
return dropdown;
}
@@ -221,7 +232,8 @@ $(function()
type : dropDownID,
libID : libID,
moduleID : moduleID,
- hasChildren : hasChildren
+ hasChildren : hasChildren,
+ moduleType : moduleType
};
var dropDown = renderDropdown(option);
diff --git a/module/doc/view/showfiles.html.php b/module/doc/view/showfiles.html.php
index d95fd05250..dfe60e5b67 100644
--- a/module/doc/view/showfiles.html.php
+++ b/module/doc/view/showfiles.html.php
@@ -15,8 +15,6 @@
doc);?>
-
-
app->tab);?>
diff --git a/module/doc/view/tablecontents.html.php b/module/doc/view/tablecontents.html.php
index d8c5109f0f..51a943c8ad 100644
--- a/module/doc/view/tablecontents.html.php
+++ b/module/doc/view/tablecontents.html.php
@@ -15,8 +15,6 @@
doc);?>
-
-
diff --git a/module/project/control.php b/module/project/control.php
index 01a1002ec0..18e538cef6 100755
--- a/module/project/control.php
+++ b/module/project/control.php
@@ -201,7 +201,7 @@ class project extends control
{
$project = $this->project->getByID($projectID);
if(!$project->multiple) return;
-
+
$executions = $this->loadModel('execution')->getByProject($projectID, 'undone', 0, true);
$executionMembers = $this->dao->select('t1.root,t2.name')->from(TABLE_TEAM)->alias('t1')
->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.root=t2.id')