fixed returns test
authorLinda Nichols <lynnaloo@gmail.com>
Tue, 1 Apr 2014 04:51:40 +0000 (04:51 +0000)
committerLinda Nichols <lynnaloo@gmail.com>
Tue, 1 Apr 2014 04:51:40 +0000 (04:51 +0000)
enyo-client/application/source/views/workspace.js

index 988e402..ff4c755 100644 (file)
@@ -1820,12 +1820,12 @@ strict: false*/
     create: function () {
       this.inherited(arguments);
       if (enyo.platform.touch) {
-        this.$.createComponents([
+        this.$.panels.createComponents([
           {kind: "XV.ReturnLineItemBox", name: "returnLineItemBox",
             attr: "lineItems", title: "_lineItems".loc(), addBefore: this.$.settingsPanel}
         ], {owner: this});
       } else {
-        this.$.createComponents([
+        this.$.panels.createComponents([
           {kind: "XV.ReturnLineItemGridBox", name: "returnLineItemBox",
             title: "_lineItems".loc(), attr: "lineItems", addBefore: this.$.settingsPanel}
         ], {owner: this});