pull in my own requirements
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Apr 2008 05:28:05 +0000 (05:28 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Apr 2008 05:28:05 +0000 (05:28 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9371 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/actor/org_unit_type.html
Open-ILS/web/conify/global/actor/org_unit_type.js
Open-ILS/web/js/dojo/openils/I18N.js

index 0818da7..029dba4 100644 (file)
 
                                                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' ) );
                                                                                        }
                                                                                </script>
                                                                        </span>
+                                                                       <span dojoType="openils.I18N.translationWidget" targetObject="current_fm_type" field="name"></span>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                                        }
                                                                                </script>
                                                                        </span>
+                                                                       <span dojoType="openils.I18N.translationWidget" targetObject="current_fm_type" field="opac_label"></span>
                                                                </td>
                                                        </tr>
                                                        <tr>
index e297c72..dcb7d7d 100644 (file)
@@ -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 ses = cookieManager.read('ses') || cgi.param('ses');
 var pCRUD = new OpenSRF.ClientSession('open-ils.permacrud');
 
 var current_type;
+var current_fm_type;
 var virgin_out_id = -1;
 
 var highlighter = {};
index f118045..a35995a 100644 (file)
@@ -24,6 +24,11 @@ if(!dojo._hasResource["openils.I18N"]) {
        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, {});