<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ui &#8211; James Lin&#039;s Blog</title>
	<atom:link href="https://james.lin.net.nz/tag/ui/feed/" rel="self" type="application/rss+xml" />
	<link>https://james.lin.net.nz</link>
	<description>Just bits and pieces of my life</description>
	<lastBuildDate>Fri, 19 Jan 2018 22:42:50 +0000</lastBuildDate>
	<language>en-NZ</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.2</generator>
<site xmlns="com-wordpress:feed-additions:1">22801464</site>	<item>
		<title>How to extend JQuery UI plugin</title>
		<link>https://james.lin.net.nz/2012/06/29/how-to-extend-jquery-ui-plugin/</link>
		<comments>https://james.lin.net.nz/2012/06/29/how-to-extend-jquery-ui-plugin/#respond</comments>
		<pubDate>Thu, 28 Jun 2012 22:21:20 +0000</pubDate>
		<dc:creator><![CDATA[James Lin]]></dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[extend]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://james.lin.net.nz/?p=1083</guid>
		<description><![CDATA[The existing dialog plugin doesn&#8217;t have an option to close dialog on clicking modal overlay, how to add an option to provide the functionality? [crayon-5a6645beec82f796437667/]]]></description>
				<content:encoded><![CDATA[<p>The existing dialog plugin doesn&#8217;t have an option to close dialog on clicking modal overlay, how to add an option to provide the functionality?</p>
<p></p><pre class="crayon-plain-tag">(function($){
   var _init = $.ui.dialog.prototype._init;
   $.ui.dialog.prototype._init = function(){
        var self = this;
        _init.apply(this,arguments);
        $('.ui-widget-overlay').live('click', function(){
            if (self.options['overlay_close']){
                self.destroy();
            }
        });
    }
})($);</pre><p></p>
]]></content:encoded>
			<wfw:commentRss>https://james.lin.net.nz/2012/06/29/how-to-extend-jquery-ui-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">1083</post-id>	</item>
	</channel>
</rss>
