1 if(!dojo._hasResource['openils.widget.EditDialog']) {
2 dojo.provide('openils.widget.EditDialog');
3 dojo.require('openils.widget.EditPane');
4 dojo.require('dijit.Dialog');
8 * Given a fieldmapper object, this builds a pop-up dialog used for editing the object
12 'openils.widget.EditDialog',
18 fieldOrder : null, // ordered list of field names, optional.
21 constructor : function() {
22 //this.inherited(arguments);
23 this.editPane = new openils.widget.EditPane();
27 * Builds a basic table of key / value pairs. Keys are IDL display labels.
28 * Values are dijit's, when values set
30 startup : function() {
31 this.inherited(arguments);
32 this.editPane.startup();
33 this.domNode.appendChild(this.editPane.domNode);