r3321 try setting standard SVN properties to get rid of CRLFs
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 3 Mar 2010 14:41:50 +0000 (14:41 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 3 Mar 2010 14:41:50 +0000 (14:41 +0000)
js/racktables.js

index 5d389d7..66e2284 100644 (file)
@@ -1,37 +1,37 @@
-// JavaScript functions\r
-\r
-// Used for (un)checking an entire row of rackspace atoms\r
-function toggleRowOfAtoms (rackId, rowId) {\r
-       var checkboxId;\r
-       for (var i=0; i<=2; i++) {\r
-               checkboxId = "atom_" + rackId + "_" + rowId + "_" + i;\r
-\r
-               // Abort if the box is disabled\r
-               if (document.getElementById(checkboxId).disabled == true) continue;\r
-\r
-               // Box isn't disabled, toggle it\r
-               if (document.getElementById(checkboxId).checked == false) {\r
-                       document.getElementById(checkboxId).checked = true;\r
-               } else {\r
-                       document.getElementById(checkboxId).checked = false;\r
-               }\r
-       }\r
-}\r
-\r
-// Used for (un)checking an entire column of rackspace atoms\r
-function toggleColumnOfAtoms (rackId, columnId, numRows) {\r
-       var checkboxId;\r
-       for (var i=1; i<numRows+1; i++) {\r
-               checkboxId = "atom_" + rackId + "_" + i + "_" + columnId;\r
-\r
-               // Abort if the box is disabled\r
-               if (document.getElementById(checkboxId).disabled == true) continue;\r
-\r
-               // Box isn't disabled, toggle it\r
-               if (document.getElementById(checkboxId).checked == false) {\r
-                       document.getElementById(checkboxId).checked = true;\r
-               } else {\r
-                       document.getElementById(checkboxId).checked = false;\r
-               }\r
-       }\r
-}\r
+// JavaScript functions
+
+// Used for (un)checking an entire row of rackspace atoms
+function toggleRowOfAtoms (rackId, rowId) {
+       var checkboxId;
+       for (var i=0; i<=2; i++) {
+               checkboxId = "atom_" + rackId + "_" + rowId + "_" + i;
+
+               // Abort if the box is disabled
+               if (document.getElementById(checkboxId).disabled == true) continue;
+
+               // Box isn't disabled, toggle it
+               if (document.getElementById(checkboxId).checked == false) {
+                       document.getElementById(checkboxId).checked = true;
+               } else {
+                       document.getElementById(checkboxId).checked = false;
+               }
+       }
+}
+
+// Used for (un)checking an entire column of rackspace atoms
+function toggleColumnOfAtoms (rackId, columnId, numRows) {
+       var checkboxId;
+       for (var i=1; i<numRows+1; i++) {
+               checkboxId = "atom_" + rackId + "_" + i + "_" + columnId;
+
+               // Abort if the box is disabled
+               if (document.getElementById(checkboxId).disabled == true) continue;
+
+               // Box isn't disabled, toggle it
+               if (document.getElementById(checkboxId).checked == false) {
+                       document.getElementById(checkboxId).checked = true;
+               } else {
+                       document.getElementById(checkboxId).checked = false;
+               }
+       }
+}