projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1ec7842
)
Roo/bootstrap/Progress.js
author
Edward
<edward@roojs.com>
Thu, 10 Apr 2014 08:12:06 +0000
(16:12 +0800)
committer
Edward
<edward@roojs.com>
Thu, 10 Apr 2014 08:12:06 +0000
(16:12 +0800)
Roo/bootstrap/Progress.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Progress.js
b/Roo/bootstrap/Progress.js
index
c79eb67
..
9ed8ac4
100644
(file)
--- a/
Roo/bootstrap/Progress.js
+++ b/
Roo/bootstrap/Progress.js
@@
-9,15
+9,8
@@
* @class Roo.bootstrap.Progress
* @extends Roo.bootstrap.Component
* Bootstrap Progress class
* @class Roo.bootstrap.Progress
* @extends Roo.bootstrap.Component
* Bootstrap Progress class
- * @cfg {Number} aria_valuenow aria-value now
- * @cfg {Number} aria_valuemin aria-value min
- * @cfg {Number} aria_valuemax aria-value max
- * @cfg {String} label label for the progress bar
- * @cfg {String} panel (success | info | warning | danger )
- * @cfg {String} role role of the progress bar
* @cfg {Boolean} striped striped of the progress bar
* @cfg {Boolean} active animated of the progress bar
* @cfg {Boolean} striped striped of the progress bar
* @cfg {Boolean} active animated of the progress bar
- * @cfg {String} sr_only text
*
*
* @constructor
*
*
* @constructor
@@
-62,29
+55,6
@@
Roo.extend(Roo.bootstrap.Progress, Roo.bootstrap.Component, {
cfg.cls += ' active';
}
cfg.cls += ' active';
}
- if(this.sr_only){
- cfg.cn[0].cn = {
- tag: 'span',
- cls: 'sr-only',
- html: this.sr_only
- }
- }
-
- if(this.role){
- cfg.cn[0].role = this.role;
- }
-
- if(this.aria_valuenow){
- cfg.cn[0]['aria-valuenow'] = this.aria_valuenow;
- }
-
- if(this.label && !this.sr_only){
- cfg.cn[0].html = this.label;
- }
-
- if(this.panel){
- cfg.cn[0].cls += ' progress-bar-' + this.panel;
- }
return cfg;
}
return cfg;
}