Bug 904631 - "System JS : ERROR jar:file:///system/b2g/omni.ja!/components/WifiWorker.js:2889. r=mrbkap

This commit is contained in:
Vincent Chang 2013-08-16 17:00:14 +08:00
parent 58a80e0209
commit 6d6dddbec1

View File

@ -2870,7 +2870,7 @@ WifiWorker.prototype = {
self._stateRequests[0].callback.call(self, self._stateRequests[0].enabled); self._stateRequests[0].callback.call(self, self._stateRequests[0].enabled);
} else { } else {
WifiManager.setWifiEnabled(self._stateRequests[0].enabled, WifiManager.setWifiEnabled(self._stateRequests[0].enabled,
self._setWifiEnabledCallback.bind(this)); self._setWifiEnabledCallback.bind(self));
} }
timer = null; timer = null;
}, 1000, Ci.nsITimer.TYPE_ONE_SHOT); }, 1000, Ci.nsITimer.TYPE_ONE_SHOT);