Side navigation
#10223 closed bug (invalid)
Opened September 07, 2011 09:31PM UTC
Closed September 22, 2011 07:47AM UTC
Unstable 1.6.2 (dynamic load jquery)
Reported by: | timothymarois@gmail.com | Owned by: | timothymarois@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | core | Version: | 1.6.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using Jquery for ajax and enabling "pop controls" However. 1.4.2 worked perfectly like it suppose to when loading Jquery dynamically (if the environment doesn't currently have jquery load it) - though using both versions without dynamic load jquery the script runs properly. Here is the example of dynamic load (using 1.6.2)
<script type="text/javascript"> if (typeof jQuery === "undefined" || jQuery.fn.jquery !== '1.4.2') { var st = document.createElement('script'); st.setAttribute("type","text/javascript"); st.setAttribute("src", "http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"); st.onload = main; st.onreadystatechange = function () { if (this.readyState == 'complete' || this.readyState == 'loaded') main(); } document.getElementsByTagName("head")[0].appendChild(st); } else { main(); } function main() { $(document).ready(function() { var ps = document.createElement('script'); ps.setAttribute("type","text/javascript"); ps.setAttribute("src", "pop.js"); document.getElementsByTagName("head")[0].appendChild(ps); }); } </script>
Not sure how else I can describe it. But the pops (when they do work) they open too many. multiple (2) at once instead of 1 pop with a click.
Contact me, I do have a setup for the testing to this.
(and using it with 1.6.2 and 1.6.3 are the same)
Attachments (0)
Change History (2)
Changed September 07, 2011 09:56PM UTC by comment:1
component: | unfiled → core |
---|---|
owner: | → timothymarois@gmail.com |
status: | new → pending |
Changed September 22, 2011 07:47AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/
Open the link and click to "Fork" (in the top menu) to get started.