Skip to content
Browse files

pull 130 part 2 Caridy@ allow HTMLFrameMojit child

config to specify action
  • Loading branch information...
1 parent 6fd3520 commit a80817fa4c528077b5a269026784f018183a08fe @isao committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 source/lib/app/mojits/HTMLFrameMojit/controller.server.js
View
5 source/lib/app/mojits/HTMLFrameMojit/controller.server.js
@@ -51,8 +51,9 @@ YUI.add('HTMLFrameMojit', function(Y, NAME) {
var child = ac.config.get('child'),
cfg;
- // Map the action to the child
- child.action = ac.action;
+ // Map the action to the child if the action
+ // is not specified as part of the child config.
+ child.action = child.action || ac.action;
// Create a config object for the composite addon
cfg = {

0 comments on commit a80817f

Please sign in to comment.
Something went wrong with that request. Please try again.