Bug Fix #66: Add offline device ui glitch
Only updates the text-box with the user id (instead of the full name), to avoid users not correctly selecting a item from the auto-complete list and then trying to submit the form.
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
source: '@(Url.Action(MVC.API.Search.UsersUpstream()))',
|
||||
minLength: 2,
|
||||
focus: function (e, ui) {
|
||||
$AssignedUserId.val(ui.item.DisplayName + ' (' + ui.item.Id + ')');
|
||||
$AssignedUserId.val(ui.item.Id);
|
||||
return false;
|
||||
},
|
||||
select: function (e, ui) {
|
||||
|
||||
@@ -502,7 +502,7 @@ WriteLiteral(@"
|
||||
WriteLiteral(@"',
|
||||
minLength: 2,
|
||||
focus: function (e, ui) {
|
||||
$AssignedUserId.val(ui.item.DisplayName + ' (' + ui.item.Id + ')');
|
||||
$AssignedUserId.val(ui.item.Id);
|
||||
return false;
|
||||
},
|
||||
select: function (e, ui) {
|
||||
|
||||
Reference in New Issue
Block a user