aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/main.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
index 63b34bd21..afe968daf 100644
--- a/include/main.js
+++ b/include/main.js
@@ -210,3 +210,16 @@
$('#panel').hide();
}
+ function post_comment(id) {
+ var typename = 'f-type-' + id;
+ var puidname = 'f-profile-uid-' + id;
+ var parname = 'f-parent-' + id;
+ var textname = 'comment-edit-text-' + id;
+ var type = $('input[id=typename]').val();
+ var profile_uid = $('input[id=puidname]').val();
+ var parent = $('input[id=parname]').val();
+ var body = $('textarea[id=textname]').val();
+
+ alert(body);
+
+ } \ No newline at end of file