projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e259c91
)
Roo/bootstrap/Alert.js
author
Edward
<edward@roojs.com>
Thu, 11 Jun 2015 02:46:31 +0000
(10:46 +0800)
committer
Edward
<edward@roojs.com>
Thu, 11 Jun 2015 02:46:31 +0000
(10:46 +0800)
Roo/bootstrap/Alert.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Alert.js
b/Roo/bootstrap/Alert.js
index
6ddd049
..
87ed547
100644
(file)
--- a/
Roo/bootstrap/Alert.js
+++ b/
Roo/bootstrap/Alert.js
@@
-30,7
+30,7
@@
Roo.extend(Roo.bootstrap.Alert, Roo.bootstrap.Component, {
title: '',
html: '',
weight: '',
- faicon:
''
,
+ faicon:
false
,
getAutoCreate : function()
{
@@
-52,6
+52,13
@@
Roo.extend(Roo.bootstrap.Alert, Roo.bootstrap.Component, {
]
};
+ if(this.faicon){
+ cfg.cn.unshift({
+ tag : 'i',
+ cls : 'fa ' + this.faicon
+ });
+ }
+
return cfg;