diff -r b8b4e38825db -r 301f546688d1 includes/clientside/static/comments.js
--- a/includes/clientside/static/comments.js Tue Feb 12 22:17:58 2008 -0500
+++ b/includes/clientside/static/comments.js Wed Feb 13 21:59:07 2008 -0500
@@ -74,7 +74,7 @@
var ns = ENANO_PAGE_TYPE;
- // Counters
+ // Counters
if ( data.auth_mod_comments )
{
var cnt = ( data.auth_mod_comments ) ? data.count_total : data.count_appr;
@@ -122,7 +122,6 @@
if ( data.auth_post_comments )
{
-
// Posting form
html += '
' + $lang.get('comment_postform_title') + '
';
@@ -149,7 +148,6 @@
html += ' |
';
html += ' ';
html += '';
-
}
document.getElementById('ajaxEditContainer').innerHTML = html;
@@ -245,7 +243,12 @@
parser.assign_vars(tplvars);
parser.assign_bool(tplbool);
- return '';
+ var ret = '';
+ return ret;
}
function displayCommentForm()
@@ -388,7 +391,7 @@
}
if ( data.ip_addr )
{
- var span = $('comment_ip_' + data.local_id).object;
+ var span = $dynano('comment_ip_' + data.local_id).object;
if ( !span )
return false;
span.innerHTML = $lang.get('comment_msg_ip_address') + ' ' + data.ip_addr + '';
@@ -605,7 +608,7 @@
function viewCommentIP(id, local_id)
{
// set "loading" indicator on IP button
- var span = $('comment_ip_' + local_id).object;
+ var span = $dynano('comment_ip_' + local_id).object;
if ( !span )
return false;
span.innerHTML = '';