Hi,
Is it possible to prevent the modal Drawer from closing and/or collapsing?
I tried the onBeforeClose and onBeforeCollapse events, but they do not seem to be available for the Drawer plugin. The code below does not prevent the drawer from closing/collapsing.
Any ideas?
$('#additional-info').drawer({
title: ' ',
closable:true,
modal:true,
onBeforeCollapse: function(){
// Do some checks...
return false;
},
onBeforeClose: function(){
// Do some checks...
return false;
}
});