diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php
index 7453a89eb2..10494edbbc 100644
--- a/module/bug/view/browse.html.php
+++ b/module/bug/view/browse.html.php
@@ -275,7 +275,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
{
$actionLink = $this->createLink('bug', 'batchResolve', "resolution=fixed&resolvedBuild=$key");
echo "
";
- echo html::a('javascript:;', $build, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::a('javascript:;', $build, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
echo "";
}
echo "";
@@ -284,7 +284,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
}
else
{
- echo '' . html::a('javascript:;', $resolution, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . '';
+ echo '' . html::a('javascript:;', $resolution, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . '';
}
}
echo '';
@@ -341,7 +341,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
{
$searchKey = $withSearch ? ('data-key="' . zget($modulesPinYin, $module, '') . '"') : '';
$actionLink = $this->createLink('bug', 'batchChangeModule', "moduleID=$moduleId");
- echo html::a('#', $module, '', "$searchKey onclick=\"setFormAction('$actionLink','hiddenwin')\" data-key='$moduleID'");
+ echo html::a('#', $module, '', "$searchKey onclick=\"setFormAction('$actionLink', 'hiddenwin')\" data-key='$moduleID'");
}
?>
@@ -371,7 +371,7 @@ $currentBrowseType = isset($lang->bug->mySelects[$browseType]) && in_array($brow
{
if(empty($key)) continue;
$searchKey = $withSearch ? ('data-key="' . zget($membersPinYin, $value, '') . " @$key\"") : "data-key='@$key'";
- echo html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\",\"hiddenwin\")", $value, '', $searchKey);
+ echo html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\", \"hiddenwin\")", $value, '', $searchKey);
}
?>
diff --git a/module/build/view/view.html.php b/module/build/view/view.html.php
index 94be631064..bef7253e17 100644
--- a/module/build/view/view.html.php
+++ b/module/build/view/view.html.php
@@ -144,7 +144,7 @@ tbody tr td:first-child input{display:none;}
if(common::hasPriv('build', 'unlinkStory'))
{
$unlinkURL = inlink('unlinkStory', "buildID=$build->id&story=$story->id");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"storyList\",confirmUnlinkStory)", '', '', "class='btn btn-icon' title='{$lang->build->unlinkStory}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"storyList\", confirmUnlinkStory)", '', '', "class='btn btn-icon' title='{$lang->build->unlinkStory}'");
}
?>
@@ -218,7 +218,7 @@ tbody tr td:first-child input{display:none;}
if(common::hasPriv('build', 'unlinkBug'))
{
$unlinkURL = inlink('unlinkBug', "buildID=$build->id&bug=$bug->id");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"bugList\",confirmUnlinkBug)", '', '', "class='btn btn-icon' title='{$lang->build->unlinkBug}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"bugList\", confirmUnlinkBug)", '', '', "class='btn btn-icon' title='{$lang->build->unlinkBug}'");
}
?>
diff --git a/module/caselib/view/browse.html.php b/module/caselib/view/browse.html.php
index b6ffb77141..63d0cdaa54 100644
--- a/module/caselib/view/browse.html.php
+++ b/module/caselib/view/browse.html.php
@@ -145,7 +145,7 @@ js::set('flow', $config->global->flow);
if(common::hasPriv('testcase', 'delete'))
{
$deleteURL = $this->createLink('testcase', 'delete', "caseID=$case->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"caseList\",confirmDelete)", '', '', "title='{$lang->testcase->delete}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"caseList\", confirmDelete)", '', '', "title='{$lang->testcase->delete}' class='btn'");
}
?>
@@ -181,7 +181,7 @@ js::set('flow', $config->global->flow);
foreach($lang->testcase->reviewResultList as $key => $result)
{
$actionLink = $this->createLink('testcase', 'batchReview', "result=$key");
- echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . '';
+ echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . '';
}
echo '';
}
@@ -196,7 +196,7 @@ js::set('flow', $config->global->flow);
foreach($modules as $moduleId => $module)
{
$actionLink = $this->createLink('testcase', 'batchChangeModule', "moduleID=$moduleId");
- echo "" . html::a('#', $module, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . "";
+ echo "" . html::a('#', $module, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . "";
}
echo '';
if($withSearch) echo "";
diff --git a/module/entry/view/browse.html.php b/module/entry/view/browse.html.php
index 844add788a..58a9fff9ed 100644
--- a/module/entry/view/browse.html.php
+++ b/module/entry/view/browse.html.php
@@ -43,7 +43,7 @@
if(common::hasPriv('entry', 'delete'))
{
$deleteURL = $this->createLink('entry', 'delete', "entryID=$id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"entryList\",confirmDelete)", '', '', "title='{$lang->entry->delete}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"entryList\", confirmDelete)", '', '', "title='{$lang->entry->delete}' class='btn'");
}
?>
diff --git a/module/my/view/task.html.php b/module/my/view/task.html.php
index b6d0315273..f218106392 100644
--- a/module/my/view/task.html.php
+++ b/module/my/view/task.html.php
@@ -124,7 +124,7 @@
if($canBatchClose)
{
$actionLink = $this->createLink('task', 'batchClose');
- echo html::commonButton($lang->close, "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::commonButton($lang->close, "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
}
?>
diff --git a/module/my/view/testtask.html.php b/module/my/view/testtask.html.php
index fdfc9bb5bb..01771a8aaf 100644
--- a/module/my/view/testtask.html.php
+++ b/module/my/view/testtask.html.php
@@ -66,7 +66,7 @@
if(common::hasPriv('testtask', 'delete', $task))
{
$deleteURL = $this->createLink('testtask', 'delete', "taskID=$task->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"taskList\",confirmDelete)", '', '', "title='{$lang->testtask->delete}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"taskList\", confirmDelete)", '', '', "title='{$lang->testtask->delete}' class='btn'");
}
?>
diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php
index efa83775f8..a8f91eeb9f 100644
--- a/module/my/view/todo.html.php
+++ b/module/my/view/todo.html.php
@@ -118,7 +118,7 @@
if(common::hasPriv('todo', 'delete'))
{
$deleteURL = $this->createLink('todo', 'delete', "todoID=$todo->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"todoList\",confirmDelete)", '', '', "class='btn' title='{$lang->todo->delete}'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"todoList\", confirmDelete)", '', '', "class='btn' title='{$lang->todo->delete}'");
}
?>
@@ -141,12 +141,12 @@
if(common::hasPriv('todo', 'batchFinish'))
{
$actionLink = $this->createLink('todo', 'batchFinish');
- echo html::commonButton($lang->todo->finish, "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::commonButton($lang->todo->finish, "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
}
if(common::hasPriv('todo', 'batchClose'))
{
$actionLink = $this->createLink('todo', 'batchClose');
- echo html::commonButton($lang->todo->close, "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::commonButton($lang->todo->close, "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
}
if(common::hasPriv('todo', 'import2Today') and $importFuture)
{
diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php
index 08a961202e..b6646f80ca 100644
--- a/module/product/view/browse.html.php
+++ b/module/product/view/browse.html.php
@@ -235,14 +235,14 @@
{
$actionLink = $this->createLink('story', 'batchReview', "result=reject&reason=$key");
echo "";
- echo html::a('#', $reason, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::a('#', $reason, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
echo "";
}
echo '';
}
else
{
- echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . '';
+ echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . '';
}
}
echo '';
@@ -279,7 +279,7 @@
if(empty($key)) continue;
if(strpos('tested|verified|released|closed', $key) === false) continue;
$actionLink = $this->createLink('story', 'batchChangeStage', "stage=$key");
- echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . "";
+ echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . "";
}
echo '';
}
diff --git a/module/product/view/build.html.php b/module/product/view/build.html.php
index 1c74e09239..97c8302663 100644
--- a/module/product/view/build.html.php
+++ b/module/product/view/build.html.php
@@ -59,7 +59,7 @@
if(common::hasPriv('build', 'delete'))
{
$deleteURL = $this->createLink('build', 'delete', "buildID=$build->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"buildList\",confirmDelete)", '', '', "class='btn' title='{$lang->build->delete}'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"buildList\", confirmDelete)", '', '', "class='btn' title='{$lang->build->delete}'");
}
?>
diff --git a/module/productplan/view/view.html.php b/module/productplan/view/view.html.php
index 4e37826ad8..29cdf8e2a9 100644
--- a/module/productplan/view/view.html.php
+++ b/module/productplan/view/view.html.php
@@ -160,7 +160,7 @@
if(common::hasPriv('productplan', 'unlinkStory'))
{
$unlinkURL = $this->createLink('productplan', 'unlinkStory', "story=$story->id&plan=$plan->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"storyList\",confirmUnlinkStory)", '', '', "class='btn' title='{$lang->productplan->unlinkStory}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"storyList\", confirmUnlinkStory)", '', '', "class='btn' title='{$lang->productplan->unlinkStory}'");
}
?>
@@ -212,14 +212,14 @@
{
$actionLink = $this->createLink('story', 'batchReview', "result=reject&reason=$key");
echo "";
- echo html::a('#', $reason, '', "onclick=\"setFormAction('$actionLink','hiddenwin', this)\"");
+ echo html::a('#', $reason, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin', this)\"");
echo "";
}
echo '';
}
else
{
- echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink','hiddenwin', this)\"") . '';
+ echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin', this)\"") . '';
}
}
echo '';
@@ -256,7 +256,7 @@
foreach($modules as $moduleId => $module)
{
$actionLink = $this->createLink('story', 'batchChangeModule', "moduleID=$moduleId");
- echo "" . html::a('#', $module, '', "onclick=\"setFormAction('$actionLink','hiddenwin', this)\"") . "";
+ echo "" . html::a('#', $module, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin', this)\"") . "";
}
echo '';
if($withSearch) echo "";
@@ -280,7 +280,7 @@
foreach($plans as $planID => $planName)
{
$actionLink = $this->createLink('story', 'batchChangePlan', "planID=$planID&oldPlanID=$plan->id");
- echo "" . html::a('#', $planName, '', "onclick=\"setFormAction('$actionLink','hiddenwin', this)\"") . "";
+ echo "" . html::a('#', $planName, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin', this)\"") . "";
}
echo '';
if($withSearch) echo "";
@@ -300,7 +300,7 @@
foreach($lang->story->stageList as $key => $stage)
{
$actionLink = $this->createLink('story', 'batchChangeStage', "stage=$key");
- echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink','hiddenwin', this)\"") . "";
+ echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin', this)\"") . "";
}
echo '';
}
@@ -394,7 +394,7 @@
if(common::hasPriv('productplan', 'unlinkBug'))
{
$unlinkURL = $this->createLink('productplan', 'unlinkBug', "story=$bug->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"bugList\",confirmUnlinkBug)", '', '', "class='btn' title='{$lang->productplan->unlinkBug}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"bugList\", confirmUnlinkBug)", '', '', "class='btn' title='{$lang->productplan->unlinkBug}'");
}
?>
diff --git a/module/project/view/build.html.php b/module/project/view/build.html.php
index 7dbd60df47..b7323a9376 100644
--- a/module/project/view/build.html.php
+++ b/module/project/view/build.html.php
@@ -75,7 +75,7 @@
if(common::hasPriv('build', 'delete', $build))
{
$deleteURL = $this->createLink('build', 'delete', "buildID=$build->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"buildList\",confirmDelete)", '', '', "class='btn' title='{$lang->build->delete}'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"buildList\", confirmDelete)", '', '', "class='btn' title='{$lang->build->delete}'");
}
?>
diff --git a/module/project/view/doc.html.php b/module/project/view/doc.html.php
index 7435db81d8..a6ff299855 100644
--- a/module/project/view/doc.html.php
+++ b/module/project/view/doc.html.php
@@ -51,7 +51,7 @@
if(common::hasPriv('doc', 'delete'))
{
$deleteURL = $this->createLink('doc', 'delete', "docID=$doc->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"docList\",confirmDelete)", '', '', "class='btn-icon' title='{$lang->doc->delete}'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"docList\", confirmDelete)", '', '', "class='btn-icon' title='{$lang->doc->delete}'");
}
?>
diff --git a/module/project/view/story.html.php b/module/project/view/story.html.php
index c606778c18..484704c7ca 100644
--- a/module/project/view/story.html.php
+++ b/module/project/view/story.html.php
@@ -210,7 +210,7 @@
if(common::hasPriv('project', 'unlinkStory', $project))
{
$unlinkURL = $this->createLink('project', 'unlinkStory', "projectID=$project->id&storyID=$story->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"storyList\",confirmUnlinkStory)", '', '', "class='btn' title='{$lang->project->unlinkStory}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"storyList\", confirmUnlinkStory)", '', '', "class='btn' title='{$lang->project->unlinkStory}'");
}
?>
@@ -246,7 +246,7 @@
if(empty($key)) continue;
if(strpos('tested|verified|released|closed', $key) === false) continue;
$actionLink = $this->createLink('story', 'batchChangeStage', "stage=$key");
- echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . "";
+ echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . "";
}
echo '';
?>
diff --git a/module/project/view/testtask.html.php b/module/project/view/testtask.html.php
index 91a80730d3..7282418648 100644
--- a/module/project/view/testtask.html.php
+++ b/module/project/view/testtask.html.php
@@ -103,7 +103,7 @@
if(common::hasPriv('testtask', 'delete', $task))
{
$deleteURL = $this->createLink('testtask', 'delete', "taskID=$task->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"taskList\",confirmDelete)", '', '', "class='btn' title='{$lang->testtask->delete}'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"taskList\", confirmDelete)", '', '', "class='btn' title='{$lang->testtask->delete}'");
}
?>
diff --git a/module/release/view/browse.html.php b/module/release/view/browse.html.php
index 106d23b57a..8ff1f9681e 100644
--- a/module/release/view/browse.html.php
+++ b/module/release/view/browse.html.php
@@ -82,7 +82,7 @@
if(common::hasPriv('release', 'delete', $release))
{
$deleteURL = $this->createLink('release', 'delete', "releaseID=$release->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"releaseList\",confirmDelete)", '', '', "class='btn' title='{$lang->release->delete}'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"releaseList\", confirmDelete)", '', '', "class='btn' title='{$lang->release->delete}'");
}
?>
diff --git a/module/release/view/view.html.php b/module/release/view/view.html.php
index 2db7441c1f..dc70f90cb5 100644
--- a/module/release/view/view.html.php
+++ b/module/release/view/view.html.php
@@ -202,7 +202,7 @@
if(common::hasPriv('release', 'unlinkBug'))
{
$unlinkURL = $this->createLink('release', 'unlinkBug', "releaseID=$release->id&bug=$bug->id");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"bugList\",confirmUnlinkBug)", '', '', "class='btn' title='{$lang->release->unlinkBug}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"bugList\", confirmUnlinkBug)", '', '', "class='btn' title='{$lang->release->unlinkBug}'");
}
?>
@@ -288,7 +288,7 @@
if(common::hasPriv('release', 'unlinkBug'))
{
$unlinkURL = $this->createLink('release', 'unlinkBug', "releaseID=$release->id&bug=$bug->id&type=leftBug");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"leftBugList\",confirmUnlinkBug)", '', '', "class='btn' title='{$lang->release->unlinkBug}'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"leftBugList\", confirmUnlinkBug)", '', '', "class='btn' title='{$lang->release->unlinkBug}'");
}
?>
diff --git a/module/story/view/zerocase.html.php b/module/story/view/zerocase.html.php
index 30dd5da12c..2573b0c53f 100644
--- a/module/story/view/zerocase.html.php
+++ b/module/story/view/zerocase.html.php
@@ -111,14 +111,14 @@
{
$actionLink = $this->createLink('story', 'batchReview', "result=reject&reason=$key");
echo "";
- echo html::a('#', $reason, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::a('#', $reason, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
echo "";
}
echo '';
}
else
{
- echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . '';
+ echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . '';
}
}
echo '';
@@ -133,7 +133,7 @@
foreach($lang->story->stageList as $key => $stage)
{
$actionLink = $this->createLink('story', 'batchChangeStage', "stage=$key");
- echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . "";
+ echo "" . html::a('#', $stage, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . "";
}
echo '';
}
diff --git a/module/testcase/view/browse.html.php b/module/testcase/view/browse.html.php
index 8c51fe241b..0ef351b0c4 100644
--- a/module/testcase/view/browse.html.php
+++ b/module/testcase/view/browse.html.php
@@ -125,7 +125,7 @@ js::set('suiteID', $suiteID);
foreach($lang->testcase->reviewResultList as $key => $result)
{
$actionLink = $this->createLink('testcase', 'batchReview', "result=$key");
- echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . '';
+ echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . '';
}
echo '';
}
@@ -143,7 +143,7 @@ js::set('suiteID', $suiteID);
foreach($lang->testcase->typeList as $key => $result)
{
$actionLink = $this->createLink('testcase', 'batchCaseTypeChange', "result=$key");
- echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink','hiddenwin')\"") . '';
+ echo '' . html::a('#', $result, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"") . '';
}
echo '';
}
@@ -206,7 +206,7 @@ js::set('suiteID', $suiteID);
{
$searchKey = $withSearch ? ('data-key="' . zget($modulesPinYin, $module, '') . '"') : '';
$actionLink = $this->createLink('testcase', 'batchChangeModule', "moduleID=$moduleId");
- echo html::a('#', $module, '', "$searchKey onclick=\"setFormAction('$actionLink','hiddenwin')\"");
+ echo html::a('#', $module, '', "$searchKey onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
}
?>
diff --git a/module/testsuite/view/browse.html.php b/module/testsuite/view/browse.html.php
index 5b43e52a26..99d06722d2 100644
--- a/module/testsuite/view/browse.html.php
+++ b/module/testsuite/view/browse.html.php
@@ -69,7 +69,7 @@
if(common::hasPriv('testsuite', 'delete', $suite))
{
$deleteURL = $this->createLink('testsuite', 'delete', "suiteID=$suite->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"suiteList\",confirmDelete)", '', '', "title='{$lang->testsuite->delete}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"suiteList\", confirmDelete)", '', '', "title='{$lang->testsuite->delete}' class='btn'");
}
?>
diff --git a/module/testsuite/view/view.html.php b/module/testsuite/view/view.html.php
index 59d4e50471..80d886e2bb 100644
--- a/module/testsuite/view/view.html.php
+++ b/module/testsuite/view/view.html.php
@@ -100,7 +100,7 @@
if(common::hasPriv('testsuite', 'unlinkCase', $suite))
{
$unlinkURL = $this->createLink('testsuite', 'unlinkCase', "suiteID=$suite->id&caseID=$case->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"caseList\",confirmUnlink)", '', '', "title='{$lang->testsuite->unlinkCase}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"caseList\", confirmUnlink)", '', '', "title='{$lang->testsuite->unlinkCase}' class='btn'");
}
if(common::hasPriv('testtask', 'runCase')) echo html::a($this->createLink('testtask', 'runCase', "runID=0&caseID=$case->id&version=$case->version"), '', '', "class='btn runCase iframe' data-width='95%' title={$lang->testtask->runCase}");
common::printIcon('testtask', 'results', "runID=0&caseID=$case->id", $suite, 'list', 'list-alt', '', 'results iframe', false, "data-width='95%'");
diff --git a/module/testtask/model.php b/module/testtask/model.php
index d2abd38e79..5b01915c26 100644
--- a/module/testtask/model.php
+++ b/module/testtask/model.php
@@ -1290,7 +1290,7 @@ class testtaskModel extends model
if(common::hasPriv('testtask', 'unlinkCase', $run))
{
$unlinkURL = helper::createLink('testtask', 'unlinkCase', "caseID=$run->id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$unlinkURL\",\"casesForm\",confirmUnlink)", '', '', "title='{$this->lang->testtask->unlinkCase}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$unlinkURL\", \"casesForm\", confirmUnlink)", '', '', "title='{$this->lang->testtask->unlinkCase}' class='btn'");
}
break;
diff --git a/module/webhook/view/browse.html.php b/module/webhook/view/browse.html.php
index 93892e3236..0c66a8823d 100644
--- a/module/webhook/view/browse.html.php
+++ b/module/webhook/view/browse.html.php
@@ -40,7 +40,7 @@
if(common::hasPriv('webhook', 'delete'))
{
$deleteURL = $this->createLink('webhook', 'delete', "webhookID=$id&confirm=yes");
- echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"webhookList\",confirmDelete)", '', '', "title='{$lang->webhook->delete}' class='btn'");
+ echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"webhookList\", confirmDelete)", '', '', "title='{$lang->webhook->delete}' class='btn'");
}
?>