[Rt-commit] r16031 - in rt/branches/3.999-DANGEROUS: share/web/static/js

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Sep 22 04:28:27 EDT 2008


Author: sunnavy
Date: Mon Sep 22 04:28:27 2008
New Revision: 16031

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/web/static/js/util.js

Log:
 r16788 at sunnavys-mb:  sunnavy | 2008-09-20 00:03:22 +0800
 small fixes


Modified: rt/branches/3.999-DANGEROUS/share/web/static/js/util.js
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/web/static/js/util.js	(original)
+++ rt/branches/3.999-DANGEROUS/share/web/static/js/util.js	Mon Sep 22 04:28:27 2008
@@ -185,7 +185,7 @@
 
 function openCalWindow(field) {
 
-    var objWindow = window.open(RT.WebPath+'/Helpers/CalPopup.html?field='+field, 
+    var objWindow = window.open(RT.WebPath+'Helpers/CalPopup.html?field='+field, 
                                 'RT_Calendar', 
                                 'height=235,width=285,scrollbars=1');
     objWindow.focus();
@@ -199,7 +199,7 @@
         $(link).observe('click', function(ev) { openCalWindow(input); ev.stop(); });
         //link.setAttribute('onclick', "openCalWindow('"+input+"'); return false;");
 
-        var text = document.createTextNode('_("Calendar")');
+        var text = document.createTextNode(_('Calendar'));
         link.appendChild(text);
 
         var space = document.createTextNode(' ');


More information about the Rt-commit mailing list