diff --git a/module/bug/css/create.css b/module/bug/css/create.css index 1009ffdf84..8328045519 100644 --- a/module/bug/css/create.css +++ b/module/bug/css/create.css @@ -45,6 +45,8 @@ html[lang='en'] #deadlineTd .input-group-addon {padding: 5px 18px;} #osBox .required:after {right: 1px;} #osBox {width: 190px;} #projectBox .required:after {right: 1px;} -#assignedTo_chosen {width: 153px !important; float: left;} -#assignedBox .load-all-user {float: left;} -#assignedBox .load-all-user .btn {border-left: none;} +#assignedTo_chosen, .load-all-user {float: left;;} +.assigned-box #assignedTo_chosen {width: 81% !important;} +.deadline-box #assignedTo_chosen {width: 153px !important;} +.assigned-box .load-all-user {float: left;} +.assigned-box .load-all-user .btn {border-left: none;} diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index 39b62fae8f..19c011153d 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -130,11 +130,11 @@ js::set('moduleID', $moduleID); bug->lblAssignedTo;?>
-
+ +
'> bug->allUsers, "class='btn btn-default' onclick='loadAllUsers()' data-toggle='tooltip'");?>
-
diff --git a/module/personnel/model.php b/module/personnel/model.php index 6f0e94e0c0..da8114ed23 100644 --- a/module/personnel/model.php +++ b/module/personnel/model.php @@ -607,7 +607,7 @@ class personnelModel extends model if($oldWhitelist) $accounts = array_unique(array_merge($accounts, $oldWhitelist)); } } - $whitelist = ',' . implode(',', $accounts); + $whitelist = !empty($accounts) ? ',' . implode(',', $accounts) : ''; $this->dao->update($objectTable)->set('whitelist')->eq($whitelist)->where('id')->eq($objectID)->exec(); $deletedAccounts = array();