EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: iceh on December 06, 2013, 12:02:07 PM



Title: feature request for dialog
Post by: iceh on December 06, 2013, 12:02:07 PM
a simple feature request for dialogs

a -> onBeforeClose Hook

like in the window class. this makes it more usefull to handle clicks on the


Title: Re: feature request for dialog
Post by: stworthy on December 06, 2013, 06:00:50 PM
The 'onBeforeClose' event already exists. Please try the code below.
Code:
<div class="easyui-dialog" title="MyDialog" style="width:250px;height:200px;padding:10px;"
data-options="
onBeforeClose:function(){
alert('before close')
}
">
</div>


Title: Re: feature request for dialog
Post by: iceh on December 07, 2013, 12:29:44 AM
Thank you!