Destroy resizable for non resizable entries, and initiate them with normal status

This commit is contained in:
Hadi Nategh 2014-01-27 16:03:08 +00:00
parent c8cd5c1c44
commit c52c1f7126

View File

@ -178,7 +178,7 @@ app.classes.calendar = AppJS.extend(
var resizeHelper = ui.target.getAttribute('data-resize').split("|")[3]; var resizeHelper = ui.target.getAttribute('data-resize').split("|")[3];
if (resizeHelper == 'WD' ) if (resizeHelper == 'WD' )
{ {
$j(this).resizable('disable'); $j(this).resizable('destroy');
} }
}, },
start:function(ui,event) start:function(ui,event)