Skip to content

Commit

Permalink
pull 130 part 2 Caridy@ allow HTMLFrameMojit child
Browse files Browse the repository at this point in the history
config to specify action
  • Loading branch information
Isao Yagi committed May 8, 2012
1 parent 6fd3520 commit a80817f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/lib/app/mojits/HTMLFrameMojit/controller.server.js
Expand Up @@ -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 = {
Expand Down

0 comments on commit a80817f

Please sign in to comment.