Fix Bug 37263.
This commit is contained in:
parent
38ac8db56f
commit
e86454d8d6
|
@ -210,7 +210,7 @@ define([
|
||||||
me.dontCloseDummyComment = true;
|
me.dontCloseDummyComment = true;
|
||||||
else if (/chat-msg-text/.test(e.target.id))
|
else if (/chat-msg-text/.test(e.target.id))
|
||||||
me.dontCloseChat = true;
|
me.dontCloseChat = true;
|
||||||
else if (/form-control/.test(e.target.className))
|
else if (!me.isModalShowed && /form-control/.test(e.target.className))
|
||||||
me.inFormControl = true;
|
me.inFormControl = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -191,7 +191,7 @@ define([
|
||||||
me.dontCloseDummyComment = true;
|
me.dontCloseDummyComment = true;
|
||||||
else if (/chat-msg-text/.test(e.target.id))
|
else if (/chat-msg-text/.test(e.target.id))
|
||||||
me.dontCloseChat = true;
|
me.dontCloseChat = true;
|
||||||
else if (/form-control/.test(e.target.className))
|
else if (!me.isModalShowed && /form-control/.test(e.target.className))
|
||||||
me.inFormControl = true;
|
me.inFormControl = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -197,7 +197,7 @@ define([
|
||||||
me.dontCloseDummyComment = true;
|
me.dontCloseDummyComment = true;
|
||||||
else if (/chat-msg-text/.test(e.target.id))
|
else if (/chat-msg-text/.test(e.target.id))
|
||||||
me.dontCloseChat = true;
|
me.dontCloseChat = true;
|
||||||
else if (/form-control/.test(e.target.className))
|
else if (!me.isModalShowed && /form-control/.test(e.target.className))
|
||||||
me.inFormControl = true;
|
me.inFormControl = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue