Permalink
Browse files

fixed Action.Dialog, Module.Container

  • Loading branch information...
1 parent 72803ca commit bb89524dcedecf7a9a1e1031ead6fac17d60dc8c @akoppela akoppela committed May 23, 2011
Showing with 1 addition and 2 deletions.
  1. +0 −1 Source/Action/Dialog.js
  2. +1 −1 Source/Module/Ambient/Container.js
View
@@ -66,7 +66,6 @@ LSD.Action.Dialog = LSD.Action.build({
}
if (content) dialog.write(content);
dialog.show();
- dialog.inject(document.body)
this.store(target, dialog);
return false;
},
@@ -47,7 +47,7 @@ LSD.Module.Container = new Class({
var options = this.options.container;
if (!options.enabled) return;
var tag = options.tag || (options.inline ? 'span' : 'div');
- return new Element(tag, options.attributes).inject(this.element, options.position);
+ return new Element(tag, options.attributes).inject(this.toElement(), options.position);
}),
getWrapper: function() {

0 comments on commit bb89524

Please sign in to comment.