[pLog-svn] r7155 - plugins/branches/lifetype-1.2/remembercommentdata/js
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Oct 27 10:12:54 EDT 2011
Author: jondaley
Date: 2011-10-27 10:12:54 -0400 (Thu, 27 Oct 2011)
New Revision: 7155
Modified:
plugins/branches/lifetype-1.2/remembercommentdata/js/remembercommentdata.js
Log:
hrm - I meant '' and not null
Modified: plugins/branches/lifetype-1.2/remembercommentdata/js/remembercommentdata.js
===================================================================
--- plugins/branches/lifetype-1.2/remembercommentdata/js/remembercommentdata.js 2011-10-27 14:02:10 UTC (rev 7154)
+++ plugins/branches/lifetype-1.2/remembercommentdata/js/remembercommentdata.js 2011-10-27 14:12:54 UTC (rev 7155)
@@ -38,11 +38,11 @@
var theName = readCookie("plog_cm_name");
var theAddr = readCookie("plog_cm_email");
var theUrl = readCookie("plog_cm_url");
- if(theForm.userName.value == null)
+ if(theForm.userName.value == "")
theForm.userName.value = (theName==null)?"":theName;
- if(theForm.userEmail.value == null)
+ if(theForm.userEmail.value == "")
theForm.userEmail.value = (theAddr==null)?"":theAddr;
- if(theForm.userUrl.value == null)
+ if(theForm.userUrl.value == "")
theForm.userUrl.value = (theUrl==null)?"":theUrl;
}
More information about the pLog-svn
mailing list