Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to close the modal dialog window by dblclick on the text?

 
Digvijay Singhania
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii,
In QBE search how should i close the modal dialog window by dblclicking on the text that is diaplayed.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is a jQuery UI modal, that is not how you call close

 
Digvijay Singhania
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is throwing error as Message : Object doesn't support this property or method
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64842
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric gave you the wrong method name. You should be able to look up the correct name yourself.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whoops, mixed my custom library with jQuery UI. Hopefully you figured out by now it should have been dialog.
 
Digvijay Singhania
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, i got the answer it should be :
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64842
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope. Try again.

That will remove the dialog functionality completely, and you will never be able to open it again (unless you completely re-initialize).

Look at the documentation for the dialog widget. Right now. Do it. Now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic