[Rt-commit] r4127 - in rt/branches/3.5-TESTING: . html/NoAuth/js

trs at bestpractical.com trs at bestpractical.com
Mon Nov 21 16:53:31 EST 2005


Author: trs
Date: Mon Nov 21 16:53:31 2005
New Revision: 4127

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/NoAuth/js/util.js
Log:
 r6505 at wintermute:  tom | 2005-11-21 16:51:50 -0500
 Overzealous s/document\.getElementById/$/g


Modified: rt/branches/3.5-TESTING/html/NoAuth/js/util.js
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/js/util.js	(original)
+++ rt/branches/3.5-TESTING/html/NoAuth/js/util.js	Mon Nov 21 16:53:31 2005
@@ -5,7 +5,7 @@
   for (var i = 0; i < arguments.length; i++) {
     var element = arguments[i];
     if (typeof element == 'string')
-      element = $(element);
+      element = document.getElementById(element);
 
     if (arguments.length == 1)
       return element;


More information about the Rt-commit mailing list