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)
committerDan Wells <dbw2@calvin.edu>
Wed, 25 Jul 2012 19:01:34 +0000 (15:01 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
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);
             },
 
             /**