~jfb-tempo-consulting/unifield-web/us-1673

« back to all changes in this revision

Viewing changes to openobject/static/javascript/jQuery/jquery.form.js

  • Committer: jf
  • Date: 2016-05-23 14:03:40 UTC
  • mfrom: (4785.2.1 unifield-web)
  • Revision ID: jfb@tempo-consulting.fr-20160523140340-8dv6r0tsurjq5kgi
US-1052 [FIX] PO Simulation Screen: "Loading..." does not stop to be displayed

lp:~fabien-morin/unifield-web/fm-us-1052

Show diffs side-by-side

added added

removed removed

Lines of Context:
289
289
            else
290
290
                setTimeout(doSubmit, 10); // this lets dom updates render
291
291
 
292
 
            var domCheckCount = 100;
 
292
            var domCheckCount = 10;
293
293
 
294
294
            function cb() {
295
295
                if (cbInvoked)
313
313
                            setTimeout(cb, 250);
314
314
                            return;
315
315
                        }
316
 
                        log('Could not access iframe DOM after 100 tries.');
 
316
                        log('Could not access iframe DOM after 10 tries.');
 
317
                        if (g && ! --$.active) $.event.trigger("ajaxStop");
317
318
                        return;
318
319
                    }
319
320