Skip to main content

Search and Top Navigation

#10576 closed bug (notabug)

Opened August 31, 2014 08:27PM UTC

Closed August 31, 2014 08:38PM UTC

JQuery sortable calling document.ready function automatically while moving divs.

Reported by: vipul Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

I am using jquery ui 1.9.1 version. Recently I implement jquery sortable feature into my application for moving divs around. I have some jsp included inside my sortable divs which have their own document.ready functions. Every thing is working fine but when I am moving my div which has any jsp include it calls all document.ready function which is defined in included jsp.I am not able to find any reason for this. This problem causing a lot of issues because I have some ajax calls which fires on document.ready call.

Attachments (0)
Change History (1)

Changed August 31, 2014 08:38PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

Sounds like you have scripts inside elements (bad idea) which are executing when they're moved in the DOM. This would be unrelated to .ready(). You should start by asking for help on the forums and providing a reduced test case so others can actually see the code you're working with.