Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3707 closed bug (invalid)

javascript getting appended

Reported by: andreasw Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: ui Cc: peter.bergqvist@…
Blocked by: Blocking:

Description

http://groups.google.com/group/jquery-en/browse_thread/thread/b15cf583701be6e4/d8beb4730fba8cde?lnk=gst&q=timestamp#d8beb4730fba8cde

We are experiencing the same issue as this guy. Is there any way of getting rid of this?

Attachments (2)

jquery_test.html (954 bytes) - added by davidserduke 11 years ago.
test case
alert.js (13 bytes) - added by davidserduke 11 years ago.
test case required file

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by flesler

Component: unfilledcore
need: ReviewTest Case
Owner: flesler deleted

There's not much we can do without a test case. You'd rather contribute a test case to that post and/or this ticket and we'll have a look.

Changed 11 years ago by davidserduke

Attachment: jquery_test.html added

test case

Changed 11 years ago by davidserduke

Attachment: alert.js added

test case required file

comment:2 Changed 11 years ago by davidserduke

I must be missing something because I don't see it happening. I've put together a test case. I tried both show() and show(1000) but it didn't reload the js file and certainly didn't add a timestamp.

Can you change my simple test case to show the problem?

comment:3 Changed 11 years ago by dmethvin

Keywords: ui added
Resolution: invalid
Status: newclosed

The thread says this happens with jQuery UI, as David said it doesn't seem to repro with jQuery by itself. That makes sense; the UI effects often need to move or insert content and that might cause re-injected scripts to be executed.

I created a ticket on the UI tracker with a repro case: http://ui.jquery.com/bugs/ticket/3677

The underlying problem may actually be a result of #3105 in domManip; either way I'll close this one.

Note: See TracTickets for help on using tickets.