projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb04f1
)
Roo/bootstrap/Modal.js
author
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 12:40:39 +0000
(20:40 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 12:40:39 +0000
(20:40 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
3b33a73
..
784c625
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-39,7
+39,6
@@
Roo.bootstrap.Modal = function(config){
Roo.bootstrap.Modal.superclass.constructor.call(this, config);
- this.el = Roo.get(document.body);
this.addEvents({
// raw events
/**
@@
-93,7
+92,7
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
if (this.buttons) {
Roo.each(this.buttons, function(bb) {
-
var
b = Roo.apply({}, bb);
+ b = Roo.apply({}, bb);
b.xns = b.xns || Roo.bootstrap;
b.xtype = b.xtype || 'Button';
if (typeof(b.listeners) == 'undefined') {