Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6069 closed bug (fixed)

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:
Blocked by: Blocking:


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:

Change History (6)

comment:1 Changed 12 years ago by Scott González

Milestone: TBD1.9
Resolution: fixed
Status: newclosed

Fixed in 98a98a0.

comment:2 Changed 12 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 12 years ago by Scott González

This will work with 1.8.6 when it gets released. In the meantime, you can stop running initialization on every click. See and

comment:4 Changed 12 years ago by enti

Thank You for your help:)

comment:5 Changed 12 years ago by Scott González


comment:6 Changed 12 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.