{
editPane : null, // reference to our EditPane object
- constructor : function() {
- this.editPane = new openils.widget.EditPane();
+ constructor : function(args) {
+ this.editPane = new openils.widget.EditPane(args);
var self = this;
this.editPane.onCancel = function() { self.hide(); }
this.editPane.onPostApply = function() { self.hide(); }
onCancel : null, // cancel callback
hideActionButtons : false,
+ constructor : function(args) {
+ for(var k in args)
+ this[k] = args[k];
+ },
+
/**
* Builds a basic table of key / value pairs. Keys are IDL display labels.
* Values are dijit's, when values set