all done? everything looks pretty good in ie, chrome, and ff
authorsenator <lebbeous@esilibrary.com>
Sat, 5 Mar 2011 17:48:40 +0000 (12:48 -0500)
committersenator <lebbeous@esilibrary.com>
Sat, 5 Mar 2011 17:48:40 +0000 (12:48 -0500)
Open-ILS/web/opac/skin/kcls/js/advanced.js
Open-ILS/web/opac/skin/kcls/js/holds.js

index 7a824f1..78eb204 100644 (file)
@@ -4,6 +4,8 @@ attachEvt("common", "run", advInit);
 
 function advInit() { 
 
+    __setsortsel();
+
        unHideMe($('adv_search_parent'));
        /* propogate these? */
 
@@ -191,5 +193,3 @@ function __setsortsel() {
         $("adv_global_sort_dir").selectedIndex = 0;
     } else $("adv_global_sort_dir").disabled = false;
 }
-
-__setsortsel();
index 7d29dba..68cc2d5 100644 (file)
@@ -58,8 +58,14 @@ function holdsHandleStaff() {
     };
 }
 
-$('holds_frozen_thaw_input').onchange = function(){holdsVerifyThawDateUI('holds_frozen_thaw_input');}
-$('holds_frozen_thaw_input').onkeyup = function(){holdsVerifyThawDateUI('holds_frozen_thaw_input');}
+attachEvt(
+    "common", "init", function() {
+        $('holds_frozen_thaw_input').onchange =
+            function(){holdsVerifyThawDateUI('holds_frozen_thaw_input');}
+        $('holds_frozen_thaw_input').onkeyup =
+            function(){holdsVerifyThawDateUI('holds_frozen_thaw_input');}
+    }
+);
 
 function _holdsHandleStaffMe() {
        holdArgs.recipient = G.user;