Fire onEditPane handler for edit dialogs spawned from AutoGrid
authorBill Erickson <berick@esilibrary.com>
Thu, 21 Jun 2012 20:18:40 +0000 (16:18 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 21 Jun 2012 20:23:04 +0000 (16:23 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/AutoGrid.js

index 12c2ef2..ddc3e58 100644 (file)
@@ -410,6 +410,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
                 this.editDialog = new openils.widget.EditDialog({editPane:pane});
                 this.editDialog.startup();
                 this.editDialog.show();
+                if(this.onEditPane) this.onEditPane(pane);
             },
 
             /**