Posted by
Nicolas Malin (Jira) on
Apr 06, 2012; 9:33am
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4780-Auto-completer-request-should-be-async-tp4528063p4537010.html
[
https://issues.apache.org/jira/browse/OFBIZ-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248212#comment-13248212 ]
Deepak Dixit edited comment on OFBIZ-4780 at 4/6/12 9:33 AM:
-------------------------------------------------------------
Here is the patch (SelectAll.patch) for the fix.
was (Author: deepakdixit):
Here is the patch for the fix.
> 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, selectAll.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