diff --git a/module/execution/control.php b/module/execution/control.php
index c456b62e4a..93f062b932 100644
--- a/module/execution/control.php
+++ b/module/execution/control.php
@@ -2736,8 +2736,8 @@ class execution extends control
$this->loadModel('user');
$this->loadModel('dept');
- $execution = $this->execution->getById($executionID);
- $users = $this->user->getPairs('noclosed|nodeleted|devfirst', '', $this->config->maxCount);
+ $execution = $this->execution->getById($executionID);
+ $users = $this->user->getPairs('noclosed|nodeleted|devfirst');
$roles = $this->user->getUserRoles(array_keys($users));
$deptUsers = empty($dept) ? array() : $this->dept->getDeptUserPairs($dept);
@@ -2752,7 +2752,7 @@ class execution extends control
foreach($members2Import as $member) $appendUsers[$member->account] = $member->account;
foreach($deptUsers as $deptAccount => $userName) $appendUsers[$deptAccount] = $deptAccount;
- $users = $this->user->getPairs('noclosed|nodeleted|devfirst', $appendUsers, $this->config->maxCount);
+ $users = $this->user->getPairs('noclosed|nodeleted|devfirst', $appendUsers);
$roles = $this->user->getUserRoles(array_keys($users));
/* Set menu. */
diff --git a/module/execution/js/managemembers.js b/module/execution/js/managemembers.js
index 2bf74db218..a8d00e5b29 100644
--- a/module/execution/js/managemembers.js
+++ b/module/execution/js/managemembers.js
@@ -51,7 +51,7 @@ function addItem(obj)
if($accounts.attr('data-pickertype') != 'remote')
{
- $accounts.chosen();
+ $accounts.picker({type: 'user'});
}
else
{
diff --git a/module/execution/view/managemembers.html.php b/module/execution/view/managemembers.html.php
index a98bedd4d3..3a153e2096 100644
--- a/module/execution/view/managemembers.html.php
+++ b/module/execution/view/managemembers.html.php
@@ -68,7 +68,7 @@
- | account, "class='form-control chosen' onchange='setRole(this.value, $i)'");?> |
+ account, "class='form-control user-picker' onchange='setRole(this.value, $i)' data-max-list-count=" . $config->maxCount);?> |
|
|
@@ -87,7 +87,7 @@
|
- |
+ maxCount);?> |
|
|
@@ -105,7 +105,7 @@
|
- |
+ maxCount);?> |
|
|
@@ -129,7 +129,7 @@
- |
+ maxCount);?> |
|
|
diff --git a/module/project/css/managemembers.css b/module/project/css/managemembers.css
index 0fc023b7d3..a085f61def 100644
--- a/module/project/css/managemembers.css
+++ b/module/project/css/managemembers.css
@@ -1,5 +1,8 @@
#dept_chosen .chosen-single {width: 220px;}
+#dept + .picker {width: 220px;}
#project_chosen .chosen-single {width: 220px;}
+#project + .picker {width: 220px;}
+#mainMenu .picker-has-value {float: left;}
.c-days {width: 100px;}
.c-hours {width: 90px;}
.c-limited {width: 110px;}
diff --git a/module/project/view/managemembers.html.php b/module/project/view/managemembers.html.php
index fa8c5a6a1c..d53a62d57f 100644
--- a/module/project/view/managemembers.html.php
+++ b/module/project/view/managemembers.html.php
@@ -59,7 +59,7 @@
$userName):?>
|
- |
+ maxCount);?> |
|
days, "class='form-control'");?> |
execution->defaultWorkhours, "class='form-control'");?> |
@@ -76,7 +76,7 @@
account])) continue;?>
- | account, "class='form-control user-picker' onchange='setRole(this.value, $i)'");?> |
+ account, "class='form-control user-picker' onchange='setRole(this.value, $i)' data-max-list-count=" . $config->maxCount);?> |
role, "class='form-control'");?> |
days, "class='form-control'");?> |
hours, "class='form-control'");?> |
@@ -92,7 +92,7 @@
- |
+ maxCount);?> |
|
days, "class='form-control'");?> |
execution->defaultWorkhours, "class='form-control'");?> |
@@ -132,7 +132,7 @@
- |
+ maxCount);?> |
|
days, "class='form-control'");?> |
execution->defaultWorkhours, "class='form-control'");?> |
|