Merge "ChangeScreen2: Disable Ctrl-Enter while 'Post' is disabled"
This commit is contained in:
@@ -124,7 +124,9 @@ class ReplyBox extends Composite {
|
||||
if ((e.getCharCode() == '\n' || e.getCharCode() == KEY_ENTER)
|
||||
&& e.isControlKeyDown()) {
|
||||
e.preventDefault();
|
||||
onPost(null);
|
||||
if (post.isEnabled()) {
|
||||
onPost(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user