diff options
author | 2015-10-19 10:14:31 -0700 | |
---|---|---|
committer | 2015-10-19 10:14:31 -0700 | |
commit | e9bb60be43af477f17b30ee1f2ba205565b7fa15 (patch) | |
tree | 981fd759a44b751fc45cde774f46fda37c11c257 /framework/src/onos/web/gui/src/main/webapp/app/fw/widget | |
parent | 74f3941756a1386cbc1fa99ee73fdc8376a0b6a0 (diff) |
Updated onos src tree to commit id 1e60f97ae50c05b94fcb6a10520738bfb5efdfd1
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/app/fw/widget')
-rw-r--r-- | framework/src/onos/web/gui/src/main/webapp/app/fw/widget/button.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/fw/widget/button.js b/framework/src/onos/web/gui/src/main/webapp/app/fw/widget/button.js index 09cdd43a..2ef5b4b0 100644 --- a/framework/src/onos/web/gui/src/main/webapp/app/fw/widget/button.js +++ b/framework/src/onos/web/gui/src/main/webapp/app/fw/widget/button.js @@ -224,7 +224,9 @@ } else { if (x >= 0 && x < rads.length) { if (currIdx !== x) { + rads[currIdx].el.classed('selected', false); currIdx = x; + rads[currIdx].el.classed('selected', true); invokeCurrent(); } else { $log.warn('current index already selected:', x); |