* Remove useless codes.

This commit is contained in:
daitingting
2018-03-28 15:59:31 +08:00
parent dc06156360
commit 97e7d97cb5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@
</button>
<ul class='dropdown-menu' id='exportActionMenu'>
<?php
$misc = common::hasPriv('task', 'export') ? "class='export iframe'" : "class=disabled";
$misc = common::hasPriv('task', 'export') ? "class='export'" : "class=disabled";
$link = common::hasPriv('task', 'export') ? $this->createLink('task', 'export', "project=$projectID&orderBy=$orderBy&type=$browseType") : '#';
echo "<li>" . html::a($link, $lang->task->export, '', $misc) . "</li>";
?>