##// END OF EJS Templates
templates: fix JS error for comment form in anonymous mode.
marcink -
r1288:2eefb284 default
parent child Browse files
Show More
@@ -289,7 +289,9 b''
289 var mainCommentForm = new CommentForm(
289 var mainCommentForm = new CommentForm(
290 "#${form_id}", commitId, pullRequestId, lineNo, true);
290 "#${form_id}", commitId, pullRequestId, lineNo, true);
291
291
292 mainCommentForm.cm.setOption('placeholder', "${placeholder}");
292 if (mainCommentForm.cm){
293 mainCommentForm.cm.setOption('placeholder', "${placeholder}");
294 }
293
295
294 mainCommentForm.initStatusChangeSelector();
296 mainCommentForm.initStatusChangeSelector();
295 bindToggleButtons();
297 bindToggleButtons();
General Comments 0
You need to be logged in to leave comments. Login now