[pLog-svn] r5701 - plog/trunk/js/ui/pages
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Fri Jul 20 18:27:05 EDT 2007
Author: oscar
Date: 2007-07-20 18:27:05 -0400 (Fri, 20 Jul 2007)
New Revision: 5701
Added:
plog/trunk/js/ui/pages/editcomments.js
Log:
I forgot this from a previous commit
Added: plog/trunk/js/ui/pages/editcomments.js
===================================================================
--- plog/trunk/js/ui/pages/editcomments.js (rev 0)
+++ plog/trunk/js/ui/pages/editcomments.js 2007-07-20 22:27:05 UTC (rev 5701)
@@ -0,0 +1,20 @@
+Lifetype.UI.Pages.EditComments = function() {}
+
+Lifetype.UI.Pages.EditComments.submitCommentsList = function(op)
+{
+ if ( op == 'changeCommentsStatus' )
+ {
+ if ( document.getElementById("postCommentsList").commentStatus.value == -1 )
+ window.alert(errorCommentStatusMsg);
+ else
+ {
+ document.getElementById("postCommentsList").op.value = op;
+ document.getElementById("postCommentsList").submit();
+ }
+ }
+ else
+ {
+ document.getElementById("postCommentsList").op.value = op;
+ document.getElementById("postCommentsList").submit();
+ }
+}
More information about the pLog-svn
mailing list