[Rt-commit] r15901 - in rt/branches/3.999-DANGEROUS: share/html/NoAuth/js
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Sep 11 01:31:36 EDT 2008
Author: sunnavy
Date: Thu Sep 11 01:31:36 2008
New Revision: 15901
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/list.js
rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/util.js
Log:
r16606 at sunnavys-mb: sunnavy | 2008-09-11 13:21:12 +0800
small name fix for js
Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/list.js
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/list.js (original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/list.js Thu Sep 11 01:31:36 2008
@@ -13,7 +13,7 @@
var doc = this.xml.responseXML;
var nNode = null;
if(doc.childNodes[0].nodename=="parseerror") alert("Parse Error.");
- doc = doc.getElementsByTagname("list")[0];
+ doc = doc.getElementsByTagName("list")[0];
for(i=0;i<doc.childNodes.length;i++) {
if(doc.childNodes[i].childNodes.length>0) {
nNode = document.createElement("option");
Modified: rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/util.js
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/util.js (original)
+++ rt/branches/3.999-DANGEROUS/share/html/NoAuth/js/util.js Thu Sep 11 01:31:36 2008
@@ -225,7 +225,7 @@
}
function setCheckbox(form, name, val) {
- var myfield = form.getElementsByTagname('input');
+ var myfield = form.getElementsByTagName('input');
for ( var i = 0; i < myfield.length; i++ ) {
if ( name && myfield[i].name != name ) continue;
if ( myfield[i].type != 'checkbox' ) continue;
More information about the Rt-commit
mailing list