diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-06-01 17:15:27 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-01 17:15:27 -0700 |
| commit | cbb4c260c40779ba84c794dd68147c54f3de2f52 (patch) | |
| tree | 2be7909d11386d157240b48ac4ce5ff878adfa1f /rt/share/html/NoAuth/js/util.js | |
| parent | d4617c6565d5fc6bafe14d11c19646b0674ae73d (diff) | |
RT 3.8.13
Diffstat (limited to 'rt/share/html/NoAuth/js/util.js')
| -rw-r--r-- | rt/share/html/NoAuth/js/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/share/html/NoAuth/js/util.js b/rt/share/html/NoAuth/js/util.js index d8ce74c46..8f1c52e6f 100644 --- a/rt/share/html/NoAuth/js/util.js +++ b/rt/share/html/NoAuth/js/util.js @@ -192,7 +192,7 @@ function doOnLoad(handler) { /* calendar functions */ function openCalWindow(field) { - var objWindow = window.open('<%RT->Config->Get('WebPath')%>/Helpers/CalPopup.html?field='+field, + var objWindow = window.open(<%RT->Config->Get('WebPath')|n,j%>+'/Helpers/CalPopup.html?field='+field, 'RT_Calendar', 'height=235,width=285,scrollbars=1'); objWindow.focus(); @@ -206,7 +206,7 @@ function createCalendarLink(input) { $(link).observe('click', function(ev) { openCalWindow(input); ev.stop(); }); //link.setAttribute('onclick', "openCalWindow('"+input+"'); return false;"); - var text = document.createTextNode('<% loc("Calendar") %>'); + var text = document.createTextNode(<% loc("Calendar") |n,j%>); link.appendChild(text); var space = document.createTextNode(' '); |
