-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I would like to run the following JS with my zul page
$.widget( "ui.dialog", $.ui.dialog, { allowInteraction: function( event ) { return !!$( event.target ).closest( ".other-popups" ).length || this.super( event ); } });
as a solution to a issue with Jquery modal dialog + ckeditor bugs.jqueryui.com/ticket/9087 . However I keep getting $.widget or jq.widget or jq().widget is undefined whatever I try. As I understand Jquery.widget (api.jqueryui.com/jquery.widget) is a widget factory.
I would like some pointer on what I may try to run that. Thanks. I am using ZK 7.0.3
Hello trongdd,
You could refer to the following in order to get some ideas on how to proceed with your task:
http://books.zkoss.org/wiki/SmallTalks/2010/December/HowtoWrapajQueryUI_Widget
http://zkfiddle.org/sample/1o2l2ph/1-Another-new-ZK-fiddle#source-2
Best Regards,
Darksu
Asked: 2014-12-26 04:10:45 +0800
Seen: 28 times
Last updated: Dec 29 '14