Serials: Dan showed me where to avoid disabling can_have_vols = false OUs ... collab/senator/allow_subs_without_vols
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 25 Apr 2012 20:47:40 +0000 (16:47 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 25 Apr 2012 20:47:40 +0000 (16:47 -0400)
for the subscriptions interface filter

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/xul/staff_client/server/serial/manage_subs.js

index b7875b3..1915542 100644 (file)
@@ -909,6 +909,9 @@ serial.manage_subs.prototype = {
             file = new util.file('offline_ou_list'); 
             if (file._file.exists()) {
                 list_data = file.get_object(); file.close();
+                for (var i = 0; i < list_data[0].length; i++) { // make sure all en
+                    list_data[0][i][2] = false;
+                }
                 ml = util.widgets.make_menulist( list_data[0], list_data[1] );
                 ml.setAttribute('id','lib_menu'); document.getElementById('serial_sub_lib_menu').appendChild(ml);
                 //TODO: class this menu properly