From f3d0bf1444be4dc7e205e3c408d6fa0e54b64ba1 Mon Sep 17 00:00:00 2001 From: Yi-Fan Liao Date: Mon, 26 Jan 2015 16:13:14 +0800 Subject: [PATCH] Bug 1123262 - [Midori 2.0]WLAN:signal strenght levels are not supported on notification bar * Correct the wifi 'onconnectioninfoupdate' usage. --- apps/system/js/statusbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/system/js/statusbar.js b/apps/system/js/statusbar.js index 869fbc32ddd5..e98366a470e7 100644 --- a/apps/system/js/statusbar.js +++ b/apps/system/js/statusbar.js @@ -912,7 +912,7 @@ var StatusBar = { if (active) { var wifiManager = window.navigator.mozWifiManager; if (wifiManager) { - wifiManager.connectionInfoUpdate = this.update.wifi.bind(this); + wifiManager.onconnectioninfoupdate = this.update.wifi.bind(this); } this.update.wifi.call(this);