projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b85cce
)
Roo/bootstrap/NavProgressBar.js
author
edward
<edward@roojs.com>
Thu, 10 Mar 2016 03:51:41 +0000
(11:51 +0800)
committer
edward
<edward@roojs.com>
Thu, 10 Mar 2016 03:51:41 +0000
(11:51 +0800)
Roo/bootstrap/NavProgressBar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavProgressBar.js
b/Roo/bootstrap/NavProgressBar.js
index
ecc75b9
..
648c4ca
100644
(file)
--- a/
Roo/bootstrap/NavProgressBar.js
+++ b/
Roo/bootstrap/NavProgressBar.js
@@
-180,10
+180,11
@@
Roo.extend(Roo.bootstrap.NavProgressBar, Roo.bootstrap.Component, {
return;
}
- this.setActiveItem(this.
navI
tems[i-1]);
+ this.setActiveItem(this.
i
tems[i-1]);
},
+
clearWasActive : function(except) {
- Roo.each(this.
navI
tems, function(e) {
+ Roo.each(this.
i
tems, function(e) {
if (e.tabId != except.tabId && e.was_active) {
e.was_active = false;
return false;
@@
-192,6
+193,7
@@
Roo.extend(Roo.bootstrap.NavProgressBar, Roo.bootstrap.Component, {
});
},
+
getWasActive : function ()
{
var r = false;