diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index 971c3bd7..70dd7f1f 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -724,6 +724,12 @@ function checkStatus(){ layer.setAttribute("display","inline"); } } + if (data.hasOwnProperty('Jack')) { + var jack = data['Jack']; + if (jack == '1') { + o_jack.setAttribute("display","inline"); + } + } blockAjax = false; }) .fail(function(xhr, ajaxOptions, thrownError) { diff --git a/components/wifi-manager/index.html b/components/wifi-manager/index.html index fe1b6791..cd0d01d5 100644 --- a/components/wifi-manager/index.html +++ b/components/wifi-manager/index.html @@ -25,6 +25,12 @@