Show More
@@ -354,9 +354,9 b' var bindToggleButtons = function() {' | |||||
354 | } |
|
354 | } | |
355 |
|
355 | |||
356 | var submitState = state; |
|
356 | var submitState = state; | |
357 |
if (!submitEvent && this.getCommentStatus() && ! |
|
357 | if (!submitEvent && this.getCommentStatus() && !self.isInline()) { | |
358 | // if the value of commit review status is set, we allow |
|
358 | // if the value of commit review status is set, we allow | |
359 |
// submit button, but only on Main form, line |
|
359 | // submit button, but only on Main form, isInline means inline | |
360 | submitState = false |
|
360 | submitState = false | |
361 | } |
|
361 | } | |
362 | $(this.submitButton).prop('disabled', submitState); |
|
362 | $(this.submitButton).prop('disabled', submitState); |
General Comments 0
You need to be logged in to leave comments.
Login now