Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1085201 - [Flame][Tako][v2.1][Settings] "Searching device" not hi…
Browse files Browse the repository at this point in the history
…dden as Sony SBH50 BTHS paired via NFC
  • Loading branch information
ian-liu authored and rvandermeulen committed Nov 13, 2014
1 parent a4dd9f1 commit 92991db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/settings/js/bluetooth.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,11 @@ navigator.mozL10n.once(function bluetoothSettings() {
};
req.onerror = function bt_discoveryFailed() {
console.error('Can not discover nearby device');

// reset search button and searching description
// when request startDiscovery failed
searchAgainBtn.disabled = false;
searchingItem.hidden = true;
};
}

Expand Down

0 comments on commit 92991db

Please sign in to comment.