fix menus for 2nd list
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 Sep 2006 03:42:17 +0000 (03:42 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 3 Sep 2006 03:42:17 +0000 (03:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5881 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/admin/transit_list.js

index bcc14f5..bf6c948 100644 (file)
@@ -191,21 +191,21 @@ admin.transit_list.prototype = {
                                                );
                                                obj.error.sdump('D_TRACE','admin.transit_list: selection list2 = ' + js2JSON(obj.selection_list2) );
                                                if (obj.selection_list2.length == 0) {
-                                                       obj.controller.view.sel_edit.setAttribute('disabled','true');
-                                                       obj.controller.view.sel_opac.setAttribute('disabled','true');
-                                                       obj.controller.view.sel_bucket.setAttribute('disabled','true');
-                                                       obj.controller.view.sel_copy_details.setAttribute('disabled','true');
-                                                       obj.controller.view.sel_patron.setAttribute('disabled','true');
-                                                       obj.controller.view.sel_transit_abort.setAttribute('disabled','true');
-                                                       obj.controller.view.sel_clip.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_edit2.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_opac2.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_bucket2.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_copy_details2.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_patron2.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_transit_abort2.setAttribute('disabled','true');
+                                                       obj.controller.view.sel_clip2.setAttribute('disabled','true');
                                                } else {
-                                                       obj.controller.view.sel_edit.setAttribute('disabled','false');
-                                                       obj.controller.view.sel_opac.setAttribute('disabled','false');
-                                                       obj.controller.view.sel_patron.setAttribute('disabled','false');
-                                                       obj.controller.view.sel_bucket.setAttribute('disabled','false');
-                                                       obj.controller.view.sel_copy_details.setAttribute('disabled','false');
-                                                       obj.controller.view.sel_transit_abort.setAttribute('disabled','false');
-                                                       obj.controller.view.sel_clip.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_edit2.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_opac2.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_patron2.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_bucket2.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_copy_details2.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_transit_abort2.setAttribute('disabled','false');
+                                                       obj.controller.view.sel_clip2.setAttribute('disabled','false');
                                                }
                                        } catch(E) {
                                                alert('FIXME: ' + E);