nitdoc: Fix bug: problem when getting function information
[nit.git] / share / nitdoc / scripts / js-facilities.js
index 40ff369..b0e928f 100644 (file)
@@ -521,7 +521,7 @@ $(document).ready(function() {
                        }\r
                        \r
                        // Create the commit message\r
-                       commitMessage = 'Wikidoc: modified comment in ' + $(this).parent().prev().html().split(' ')[1];\r
+                       commitMessage = 'Wikidoc: modified comment in ' + $(this).parent().prev().prev().html().split(' ')[1];\r
                        $('#commitMessage').text(commitMessage);\r
                        $('#commitMessage').css({'display': 'block'});\r
                        pathFile = $(this).prev().prev().prev().attr('tag');\r