projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb90005
)
Roo/bootstrap/Alert.js
author
Alan Knowles
<alan@roojs.com>
Tue, 8 Jun 2021 08:07:01 +0000
(16:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 8 Jun 2021 08:07:01 +0000
(16:07 +0800)
Roo/bootstrap/Alert.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Alert.js
b/Roo/bootstrap/Alert.js
index
2fb1779
..
5d53882
100644
(file)
--- a/
Roo/bootstrap/Alert.js
+++ b/
Roo/bootstrap/Alert.js
@@
-87,6
+87,9
@@
Roo.extend(Roo.bootstrap.Alert, Roo.bootstrap.Component, {
this.el.setVisibilityMode(Roo.Element.DISPLAY);
this.titleEl = this.el.select('.roo-alert-title',true).first();
this.iconEl = this.el.select('.roo-alert-icon',true).first();
+ if (this.seconds > 0) {
+ this.hide.defer(this.seconds, this);
+ }
},
setTitle : function(str)