Skip to main content

Bug Tracker

Side navigation

#12798 closed feature (wontfix)

Opened October 28, 2012 07:19PM UTC

Closed October 28, 2012 07:34PM UTC

.holdReady(true) after ready event

Reported by: david71rj Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:

Well, on API told that after ready event starts .holdReady() will not works anymore. But some times it is need. So it is a feature request, and not a bug.

For instance: I have two differents scripts. The first does an AJAX call, but it need stop ready event because the content get by AJAX need to exists before the next script.

An option, for me, is put the second jQuery.ready() inner the AJAX .success(), but it is ugly and hackish for my case (I need load the second script in all pages needless).


Attachments (0)
Change History (1)

Changed October 28, 2012 07:34PM UTC by dmethvin comment:1

resolution: → wontfix
status: newclosed

Sorry, but .holdReady() itself is already ugly and hackish. If your needs are more complex than that, consider using something like AMD.