From 5e73aeac8f5b9e124b708be22b716479bea9954d Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 28 Mar 2008 16:15:17 +0000 Subject: [PATCH] fixing check boxes -- yay for dojo 1.1! git-svn-id: svn://svn.open-ils.org/ILS/branches/dojo-admin@9157 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/conify/global/actor/org_unit.html | 34 +++++----------- .../web/conify/global/actor/org_unit_type.html | 45 +++++++++------------- 2 files changed, 29 insertions(+), 50 deletions(-) diff --git a/Open-ILS/web/conify/global/actor/org_unit.html b/Open-ILS/web/conify/global/actor/org_unit.html index 12e3a60c89..e7a6e3ee55 100644 --- a/Open-ILS/web/conify/global/actor/org_unit.html +++ b/Open-ILS/web/conify/global/actor/org_unit.html @@ -52,7 +52,7 @@
-
+
@@ -272,12 +272,8 @@ jsId="editor_pane_opac_visible" type="checkbox" dojoType="dijit.form.CheckBox" - value='t' - > - - + onChange='if (current_ou) ou_list_store.setValue( current_ou, "opac_visible", this.checked ? "t" : "f" );' + /> @@ -494,7 +490,7 @@
-
+
@@ -584,10 +578,8 @@ jsId="holds_addr_valid" dojoType="dijit.form.CheckBox" value='t' + onChange='if (current_holds_address) current_holds_address.valid( this.checked ? "t" : "f" );' /> - @@ -654,11 +646,8 @@ type="checkbox" jsId="mailing_addr_valid" dojoType="dijit.form.CheckBox" - value='t' + onChange='if (current_mailing_address) current_mailing_address.valid( this.checked ? "t" : "f" );' /> - @@ -725,11 +714,8 @@ type="checkbox" jsId="ill_addr_valid" dojoType="dijit.form.CheckBox" - value='t' + onChange='if (current_ill_address) current_ill_address.valid( this.checked ? "t" : "f" );' /> - diff --git a/Open-ILS/web/conify/global/actor/org_unit_type.html b/Open-ILS/web/conify/global/actor/org_unit_type.html index 17b47d804f..cc49013b92 100644 --- a/Open-ILS/web/conify/global/actor/org_unit_type.html +++ b/Open-ILS/web/conify/global/actor/org_unit_type.html @@ -41,7 +41,7 @@ - + @@ -52,14 +52,14 @@
-
+
@@ -153,7 +154,11 @@
-
+
+
- + onChange='if (current_type) ou_type_store.setValue( current_type, "can_have_vols", this.checked ? "t" : "f" );' + /> @@ -245,14 +244,8 @@ jsId="editor_pane_can_have_users" type="checkbox" dojoType="dijit.form.CheckBox" - value='t' - > - - + onChange='if (current_type) ou_type_store.setValue( current_type, "can_have_users", this.checked ? "t" : "f" );' + /> @@ -360,8 +353,8 @@ var new_fm_obj = new aout().fromHash({ isnew : 1, name : 'New Type', - can_have_vols : '0', - can_have_users : '0', + can_have_vols : 'f', + can_have_users : 'f', depth : 1 + parseInt(ou_type_store.getValue( current_type, 'depth' )), opac_label : ou_type_store.getValue( current_type, 'opac_label' ) + ' child' + virgin_out_id--, parent : ou_type_store.getValue( current_type, 'id' ) -- 2.11.0