##// END OF EJS Templates
comments: unlock submit if we use slash commands to set status.
marcink -
r1444:81cfc013 default
parent child Browse files
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() && !this.lineNo) {
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, lineNo means inline
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