.replace(new RegExp('%EDIT_URL%', 'g'), edit_url)\r
.replace(new RegExp('%CONVERT_URL%', 'g'), convert_url);\r
\r
- $container.append(skeleton);\r
+ $container.prepend(skeleton);\r
\r
// Show the convert comment to answer tool only if the current comment can be converted\r
if (can_convert == true) {\r
if (!data.success && data['error_message'] != undefined) {\r
show_message(evt, data.error_message, function() {if (callback) callback(true);});\r
end_command(false);\r
- } else if (typeof data['commands'] != undefined){\r
+ }\r
+ if (typeof data['commands'] != undefined){\r
for (var command in data.commands) {\r
response_commands[command].apply(null, data.commands[command])\r
\r