Close taskbar content when user click on outside of it.
Right now it only toggle when clicking notification /tab

Comments

mahtoranjeet’s picture

I have done this by jquery
writing this code in document.ready

$(document).bind({
 "click": function(ev) {
            var myID = ev.target.id;

 if (myID !== 'my-taskbar-id'){
  jQuery('.taskbar-item-extra').hide();
}
}
})

 $('#taskbar-item-winculum_activity').live('click',function(){
        $('.taskbar-item-extra').show();
    
    })
mahtoranjeet’s picture

Assigned: Unassigned » mahtoranjeet

I will create a patch for this

mahtoranjeet’s picture

Status: Active » Needs review
StatusFileSize
new639 bytes

patch for closing the tab on clicking anywhere on the document/body of page

mahtoranjeet’s picture

Assigned: mahtoranjeet » Unassigned
jcisio’s picture

Status: Needs review » Needs work

I think it should be optional.

mahtoranjeet’s picture

Ok, I will add this to setting of the module.

mahtoranjeet’s picture

Status: Needs work » Closed (duplicate)

Closing the issue because of duplicate of this http://drupal.org/node/1676364

jcisio’s picture

Sorry that I implemented it two months ago and forgot it (In fact I remembered there was a feature request, but I could not find it, and I didn't check the code, neither).