Posted by
Nicolas Malin (Jira) on
Apr 06, 2012; 9:29am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4780-Auto-completer-request-should-be-async-tp4528063p4536999.html
[
https://issues.apache.org/jira/browse/OFBIZ-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Dixit reopened OFBIZ-4780:
---------------------------------
Find one minor issue regarding the pending request count for ajax auto-completer, pending count is used to add and remove the ui-autocomplete-loading class, if we are aborting the request then this count not updated properly and ui-autocomplete-loading class does not remove from the lookup element hence ajax loader image display continuously if response came.
> Auto-completer request should be async.
> ---------------------------------------
>
> Key: OFBIZ-4780
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4780> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release Branch 11.04, SVN trunk
> Reporter: Deepak Dixit
> Assignee: Jacques Le Roux
> Priority: Minor
> Fix For: Release Branch 11.04, SVN trunk
>
> Attachments: OFBIZ-4780.patch
>
>
> Currently auto-completer uses sync call to prepare auto-completer source (result list).
> Due to this user can't perform any other operation on lookup field and user should have to wait until response came.
> In general, synchronous requests should never be used because they tend to block the execution of anything else on the page (or even the entire browser UI), which isn't good.
> Also ajax-loader image not display on google chrome browser due to sync request.
> Need to use async request for auto-completer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspaFor more information on JIRA, see:
http://www.atlassian.com/software/jira