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:
1 parent
a43db01b96
commit
c528a2be26
2 files changed
+2
-2
No files matched your search
@@ -129,7 +129,7 @@
|
|||||||
source: '@(Url.Action(MVC.API.Search.UsersUpstream()))',
|
source: '@(Url.Action(MVC.API.Search.UsersUpstream()))',
|
||||||
minLength: 2,
|
minLength: 2,
|
||||||
focus: function (e, ui) {
|
focus: function (e, ui) {
|
||||||
$AssignedUserId.val(ui.item.DisplayName + ' (' + ui.item.Id + ')');
|
$AssignedUserId.val(ui.item.Id);
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
select: function (e, ui) {
|
select: function (e, ui) {
|
||||||
|
|||||||
@@ -502,7 +502,7 @@ WriteLiteral(@"
|
|||||||
WriteLiteral(@"',
|
WriteLiteral(@"',
|
||||||
minLength: 2,
|
minLength: 2,
|
||||||
focus: function (e, ui) {
|
focus: function (e, ui) {
|
||||||
$AssignedUserId.val(ui.item.DisplayName + ' (' + ui.item.Id + ')');
|
$AssignedUserId.val(ui.item.Id);
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
select: function (e, ui) {
|
select: function (e, ui) {
|
||||||
|
|||||||
Reference in new issue
Block a user