[fix] [minor] set z-index of communication composer autocomplete field

This commit is contained in:
Anand Doshi 2013-08-27 16:16:52 +05:30
parent 61f2e4a258
commit 5a19ff3f6a

View file

@ -345,6 +345,10 @@ wn.views.CommunicationComposer = Class.extend({
}
});
},
open: function(event, ui) {
var zindex = cint(me.dialog.$wrapper.css("z-index")) + 1
$(this).autocomplete("widget").css("z-index", zindex);
},
focus: function() {
// prevent value inserted on focus
return false;