disabling changes in desktop, missed out in last one

This commit is contained in:
Harry Bomrah 2013-09-30 17:15:32 +08:00 committed by saurabhbhatia
parent 0a9fd6a4b5
commit 2f673b20ad
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ var orbitDesktop = function(dom){
this.bindDesktopEvents = function(){ //this function will bind the global handlers to thd desktop, for example doc
$(".docklist a").click(function(){
if( !$( this ).hasClass( 'disable' ) )
if( !$( this ).parent().hasClass( 'disable' ) )
o.menu_item($(this));
return false;
});