[open-ils-commits] r9371 - in trunk/Open-ILS/web: conify/global/actor js/dojo/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 17 02:06:26 EDT 2008


Author: miker
Date: 2008-04-17 01:28:05 -0400 (Thu, 17 Apr 2008)
New Revision: 9371

Modified:
   trunk/Open-ILS/web/conify/global/actor/org_unit_type.html
   trunk/Open-ILS/web/conify/global/actor/org_unit_type.js
   trunk/Open-ILS/web/js/dojo/openils/I18N.js
Log:
pull in my own requirements

Modified: trunk/Open-ILS/web/conify/global/actor/org_unit_type.html
===================================================================
--- trunk/Open-ILS/web/conify/global/actor/org_unit_type.html	2008-04-17 05:21:21 UTC (rev 9370)
+++ trunk/Open-ILS/web/conify/global/actor/org_unit_type.html	2008-04-17 05:28:05 UTC (rev 9371)
@@ -120,6 +120,7 @@
 
 						right_pane_toggler.show();
 						current_type = item;
+						current_fm_type = new aout().fromStoreItem(item);
 
 						highlighter.editor_pane.green.play();
 						status_update( 'Now editing ' + this.store.getValue( item, 'name' ) );
@@ -191,6 +192,7 @@
 											}
 										</script>
 									</span>
+									<span dojoType="openils.I18N.translationWidget" targetObject="current_fm_type" field="name"></span>
 								</td>
 							</tr>
 							<tr>
@@ -203,6 +205,7 @@
 											}
 										</script>
 									</span>
+									<span dojoType="openils.I18N.translationWidget" targetObject="current_fm_type" field="opac_label"></span>
 								</td>
 							</tr>
 							<tr>

Modified: trunk/Open-ILS/web/conify/global/actor/org_unit_type.js
===================================================================
--- trunk/Open-ILS/web/conify/global/actor/org_unit_type.js	2008-04-17 05:21:21 UTC (rev 9370)
+++ trunk/Open-ILS/web/conify/global/actor/org_unit_type.js	2008-04-17 05:28:05 UTC (rev 9371)
@@ -16,6 +16,7 @@
 */
 
 dojo.require('fieldmapper.dojoData');
+dojo.require('openils.I18N');
 dojo.require('dojo.parser');
 dojo.require('dojo.data.ItemFileWriteStore');
 dojo.require('dojo.date.stamp');
@@ -40,6 +41,7 @@
 var pCRUD = new OpenSRF.ClientSession('open-ils.permacrud');
 
 var current_type;
+var current_fm_type;
 var virgin_out_id = -1;
 
 var highlighter = {};

Modified: trunk/Open-ILS/web/js/dojo/openils/I18N.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/I18N.js	2008-04-17 05:21:21 UTC (rev 9370)
+++ trunk/Open-ILS/web/js/dojo/openils/I18N.js	2008-04-17 05:28:05 UTC (rev 9371)
@@ -24,6 +24,11 @@
 	dojo.require("dojo.data.ItemFileWriteStore");
 	dojo.require("dijit._Widget");
 	dojo.require("dijit._Templated");
+	dojo.require("dijit.layout.ContentPane");
+	dojo.require("dijit.Dialog");
+	dojo.require("dijit.form.Button");
+	dojo.require("dijit.form.TextBox");
+	dojo.require("dijit.form.ComboBox");
 
 
     dojo.declare('openils.I18N', null, {});



More information about the open-ils-commits mailing list