Change in ovirt-engine[master]: webadmin: allow a single user lookup at a time

gchaplik at redhat.com gchaplik at redhat.com
Sun Dec 30 07:13:26 UTC 2012


Gilad Chaplik has submitted this change and it was merged.

Change subject: webadmin: allow a single user lookup at a time
......................................................................


webadmin: allow a single user lookup at a time

In search user (add user/permission),
a query ('GO') may take a while, so we will allow only
a single search at a time, to avoid multiple concurrent
queries, If a query takes a long time a user may
intuitively press a lot of times on the go button/enter key.

Because the number of connections is limited, we don't
want to waste them with redundant calls.

The 'GO' button will be disabled according to a field in the model
(searchInProgress)

Change-Id: I4a44304d3ffc9fd8e76afe3f8bd443553e64f6f6
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/presenter/popup/permissions/AbstractPermissionsPopupPresenterWidget.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/users/AdElementListModel.java
2 files changed, 31 insertions(+), 1 deletion(-)

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/10241
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4a44304d3ffc9fd8e76afe3f8bd443553e64f6f6
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>



More information about the Engine-commits mailing list