|
|
Reported by gnoodl,
Oct 22, 2008
What steps will reproduce the problem?
1. Don't include the jQuery ui library
2. Launch some DOMWindow code
3. Close the DOMWindow
4. Error is "$("#DOMWindow").draggable is not a function"
What is the expected output? What do you see instead?
Expecting no errors if ui library not loaded. Instead, receive an error
about missing functions.
What version of the product are you using? On what operating system?
Current as of October 23 2008
Please provide any additional information below.
Solution is to implement the following:
19 $('#DOMWindow').fadeOut('fast',function(){
20 if ($.fn.draggable) {
21 $('#DOMWindow').draggable("destroy");
22 }
23 $('#DOMWindow').trigger("unload").remove();
24 });
|