projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71f36c
)
Roo/bootstrap/Modal.js
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 09:43:15 +0000
(17:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 09:43:15 +0000
(17:43 +0800)
Roo/bootstrap/Modal.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Modal.js
b/Roo/bootstrap/Modal.js
index
90917b4
..
17751f6
100644
(file)
--- a/
Roo/bootstrap/Modal.js
+++ b/
Roo/bootstrap/Modal.js
@@
-123,7
+123,8
@@
Roo.extend(Roo.bootstrap.Modal, Roo.bootstrap.Component, {
this.items = nitems;
- this.body = this.el.select('.modal-body').first();
+ this.body = this.el.select('.modal-body',true).first();
+ this.close = this.el.select('.modal-header .close', true).first();
this.initEvents();
//this.el.addClass([this.fieldClass, this.cls]);