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

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sat Sep 27 23:12:28 EDT 2008


Author: sunnavy
Date: Sat Sep 27 23:12:27 2008
New Revision: 16131

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

Log:
 r16927 at sunnavys-mb:  sunnavy | 2008-09-28 11:11:07 +0800
 remove old calendar select stuff


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	Sat Sep 27 23:12:27 2008
@@ -181,37 +181,6 @@
 
 window.onload = doOnLoadHooks;
 
-/* calendar functions */
-
-function openCalWindow(field) {
-
-    var objWindow = window.open(RT.WebPath+'Helpers/CalPopup.html?field='+field, 
-                                'RT_Calendar', 
-                                'height=235,width=285,scrollbars=1');
-    objWindow.focus();
-}
-
-function createCalendarLink(input) {
-    var e = $(input);
-    if (e) {
-        var link = document.createElement('a');
-        link.setAttribute('href', '#');
-        $(link).observe('click', function(ev) { openCalWindow(input); ev.stop(); });
-        //link.setAttribute('onclick', "openCalWindow('"+input+"'); return false;");
-
-        var text = document.createTextNode(_('Calendar'));
-        link.appendChild(text);
-
-        var space = document.createTextNode(' ');
-        
-        e.parentNode.insertBefore(link, e.nextSibling);
-        e.parentNode.insertBefore(space, e.nextSibling);
-
-        return true;
-    }
-    return false;
-}
-
 /* other utils */
 
 function focusElementById(id) {


More information about the Rt-commit mailing list