-\r
- // Delete prefilled Text of the comment input\r
- // Note: not the best solution but function commentOpenUI don't\r
- // work as expected (we need a way to wait until commentOpenUI would be finished).\r
- // As for now we insert pieces of this function here\r
- if ((commentElm !== null) && (typeof commentElm !== "undefined")) {\r
- if (commentElm.value == aStr.comment){\r
- commentElm.value = "";\r
- $("#comment-edit-text-" + FileBrowser.id).addClass("comment-edit-text-full").removeClass("comment-edit-text-empty");\r
- $("#comment-edit-submit-wrapper-" + FileBrowser.id).show();\r
- $("#comment-edit-text-" + FileBrowser.id).attr('tabindex','9');\r
- $("#comment-edit-submit-" + FileBrowser.id).attr('tabindex','10');\r
- }\r
-\r
- }\r