only drag chat modal from header

This commit is contained in:
Baris Soner Usakli
2014-01-20 15:35:10 -05:00
parent 71888adb09
commit ed1c276739

View File

@@ -131,7 +131,8 @@ define(['taskbar', 'string'], function(taskbar, S) {
chatModal.draggable({
start:function() {
module.bringModalToTop(chatModal);
}
},
handle: '.modal-header'
});
chatModal.find('#chat-with-name').html(username);