Issue #23261: Fixed problem with ontap originator not being icon-button
authorLinda Nichols <lynnaloo@gmail.com>
Thu, 3 Apr 2014 20:47:55 +0000 (20:47 +0000)
committerLinda Nichols <lynnaloo@gmail.com>
Thu, 3 Apr 2014 20:47:55 +0000 (20:47 +0000)
lib/enyo-x/source/views/workspace.js

index f6d9b55..3942e49 100644 (file)
@@ -702,7 +702,7 @@ trailing:true, white:true, strict: false*/
 
       // If it's a view method then call function on the workspace.
       if (selected.isViewMethod || selected.container.isViewMethod) {
-        this.$.workspace[selected.method](inEvent);
+        this.$.workspace[selected.method || selected.container.method](inEvent);
 
       // Otherwise call it on the workspace's model.
       } else {