Fixes TIVI-2825 - WiFi/Wired status not stable 71/17171/1
authorJimmy Huang <jimmy.huang@intel.com>
Tue, 4 Mar 2014 19:46:23 +0000 (11:46 -0800)
committerJimmy Huang <jimmy.huang@intel.com>
Tue, 4 Mar 2014 19:46:23 +0000 (11:46 -0800)
commitd224eb87d8ef8a0e29b0d68049c75eb4515ca16d
treeacbf2659c7677cca4d0ebaa8172e511fec0f1896
parent8a29e3859e4422bed01f72d2ed45159903c3e576
Fixes TIVI-2825 - WiFi/Wired status not stable

Fixes an issue where everytime the connman page is loaded, the technology buttons turns off and on, because it removes all the html5 elements and then recreates them later.  Now it's smart enough to only create the element if the element doesn't exist, or it will just update its existing status.

Change-Id: I00f4fffe3aa5220db5f17a7cf8797b5e9ac76469
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
index.html
js/panel-connman.js