I am trying to add a handler in the desktop app. But this is not working. Since desktop extension is on top of easyui window, it is not possible to make it work like a dialog as well. For example I tried to add buttons option it is not working.
$('body').desktop({
apps: [{
name: 'All Projects',
icon: 'images/alldoc.png',
width: 800,
height: 400,
left: 200,
top: 50,
handler:function(){
alert('handler');
}
}]
});
Please help.