Show More
@@ -418,7 +418,6 var injectInlineForm = function(tr){ | |||||
418 | } |
|
418 | } | |
419 | YUD.insertAfter(form,parent); |
|
419 | YUD.insertAfter(form,parent); | |
420 |
|
420 | |||
421 | YUD.get('text_'+lineno).focus(); |
|
|||
422 | var f = YUD.get(form); |
|
421 | var f = YUD.get(form); | |
423 |
|
422 | |||
424 | var overlay = f.getElementsByClassName('overlay')[0]; |
|
423 | var overlay = f.getElementsByClassName('overlay')[0]; | |
@@ -465,8 +464,14 var injectInlineForm = function(tr){ | |||||
465 |
|
464 | |||
466 | ajaxPOST(submit_url, postData, success); |
|
465 | ajaxPOST(submit_url, postData, success); | |
467 | }); |
|
466 | }); | |
|
467 | ||||
|
468 | setTimeout(function(){ | |||
468 | // callbacks |
|
469 | // callbacks | |
469 | tooltip_activate(); |
|
470 | tooltip_activate(); | |
|
471 | MentionsAutoComplete('text_'+lineno, 'mentions_container_'+lineno, | |||
|
472 | _USERS_AC_DATA, _GROUPS_AC_DATA); | |||
|
473 | YUD.get('text_'+lineno).focus(); | |||
|
474 | },10) | |||
470 | }; |
|
475 | }; | |
471 |
|
476 | |||
472 | var deleteComment = function(comment_id){ |
|
477 | var deleteComment = function(comment_id){ |
General Comments 0
You need to be logged in to leave comments.
Login now