Ticket #6069 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

DIALOG windows 1.8.5 draggapble problem

Reported by: enti Owned by:
Priority: critical Milestone: 1.8.6
Component: ui.dialog Version: 1.8.5
Keywords: Cc:
Blocking: Blocked by:


Hello. There is some problem with 1.8.5 version with dialog windows. For example:

<span class="signupregister">DIALOG</span>

<div class="modallogin" id="modallogin"> some text </div>

<script type="text/javascript">




modal:true, width:503, height:191, title: "text", draggable: false, resizable: false





If I for the first time click on DIALOG text eveyrhitng is OK...dialog windows will open..But after I close it and try to click again on text DIALOG...there is a JS error:

Error: uncaught exception: cannot call methods on draggable prior to initialization; attempted to call method 'destroy'

So if I remove draggable: false, from script everythig is OK...Also evrything works great with 1.8.4 version...Hmm...I think that this is a only bug in new version

Hlásenie: Výnimka bola vygenerovaná, ale nebola zachytená Riadok: 20 Znak: 64 Kód: 0 URI:  http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js

Change History

comment:1 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.9

Fixed in  98a98a0.

comment:2 Changed 5 years ago by enti

Hello. Does it mean that this problem will be solved in version 1.9?Please can you expalin me this problem...So Do I need to use 1.8.4 version If I don't want to use draggble modal window. And only in version 1.9 will be this problem solved? Thank you for your help.

comment:3 Changed 5 years ago by scott.gonzalez

This will work with 1.8.6 when it gets released. In the meantime, you can stop running initialization on every click. See  http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/ and  http://blog.nemikor.com/2009/08/07/creating-dialogs-on-demand/

comment:4 Changed 5 years ago by enti

Thank You for your help:)

comment:5 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.6

comment:6 Changed 4 years ago by Scott González

Dialog: Don't call draggable.destroy if we're not currently draggable. Fixes #6069 - DIALOG windows 1.8.5 draggapble problem.

Changeset: 98a98a05d1a646a1e53b90020fe7c096acd1d933

Note: See TracTickets for help on using tickets.