[jira] [Commented] (OFBIZ-6530) Ajax request should be async

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6530) Ajax request should be async

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600781#comment-14600781 ]

Deepak Dixit commented on OFBIZ-6530:
-------------------------------------

http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings
{quote}
async (default: true)
Type: Boolean
By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated; you must use the success/error/complete callback options instead of the corresponding methods of the jqXHR object such as jqXHR.done() or the deprecated jqXHR.success().
{quote}

> Ajax request should be async
> ----------------------------
>
>                 Key: OFBIZ-6530
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6530
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 14.12, Trunk
>            Reporter: Deepak Dixit
>            Assignee: Deepak Dixit
>
> Ajax request should be async, As per current implementation lookupDescriptionLoaded uses aysnc=false, due to this its blocking the weppage, so need call the ajax service call asynchronously.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)