make fewer assumptions about component hierarchy
authorGil Moskowitz <gmoskowitz@xtuple.com>
Mon, 23 Jun 2014 14:10:13 +0000 (10:10 -0400)
committerGil Moskowitz <gmoskowitz@xtuple.com>
Mon, 23 Jun 2014 14:10:13 +0000 (10:10 -0400)
lib/enyo-x/source/views/grid_box.js

index 127853a..ecdd49e 100644 (file)
@@ -530,7 +530,7 @@ trailing:true, white:true, strict: false*/
       editor.setFirstFocus();
     },
     exportAttr: function (inSender, inEvent) {
-      var gridbox = inEvent.originator.parent.parent;
+      var gridbox = this;
       this.doExportAttr({ attr: gridbox.attr });
     },
     refreshLists: function () {