From dc381b40b5868d78aa7d14ca736d6cfee4e7f400 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 3 Jul 2015 11:33:21 +0800 Subject: [PATCH] * fix bugs. --- module/bug/view/browse.html.php | 2 +- module/product/view/browse.html.php | 2 +- module/project/view/task.html.php | 2 +- module/tree/js/browse.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 176a037a89..2338311fb7 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -247,7 +247,7 @@ js::set('moduleID', $moduleID); foreach ($memberPairs as $key => $value) { if(empty($key)) continue; - echo "
  • " . html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; + echo "
  • " . html::a("javascript:$(\".table-actions #assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; } if($withSearch) echo ""; echo ""; diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index 0b7238df50..4ec0b1d489 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -232,7 +232,7 @@ foreach ($users as $key => $value) { if(empty($key)) continue; - echo "
  • " . html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; + echo "
  • " . html::a("javascript:$(\".table-actions #assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; } if($withSearch) echo ""; echo ""; diff --git a/module/project/view/task.html.php b/module/project/view/task.html.php index c8934e9da3..141f387696 100644 --- a/module/project/view/task.html.php +++ b/module/project/view/task.html.php @@ -170,7 +170,7 @@ foreach ($memberPairs as $key => $value) { if(empty($key)) continue; - echo "
  • " . html::a("javascript:$(\"#assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; + echo "
  • " . html::a("javascript:$(\".table-actions #assignedTo\").val(\"$key\");setFormAction(\"$actionLink\")", $value, '', '') . '
  • '; } if($withSearch) echo ""; echo ""; diff --git a/module/tree/js/browse.js b/module/tree/js/browse.js index 6e2c795d8a..cdea63d69d 100644 --- a/module/tree/js/browse.js +++ b/module/tree/js/browse.js @@ -45,6 +45,6 @@ function syncProductOrProject(obj, type) $(document).ready(function() { - $("#submenucreate").modalTrigger({type: 'iframe', width: 500}); - $("#submenuedit").modalTrigger({type: 'iframe', width: 500}); +// $("#submenucreate").modalTrigger({type: 'iframe', width: 500}); +// $("#submenuedit").modalTrigger({type: 'iframe', width: 500}); });