Bug 1065144 - Unhide Loop Firefox Account UI. r=standard8
This commit is contained in:
@@ -213,11 +213,11 @@ loop.panel = (function(_, mozL10n) {
|
||||
mixins: [sharedMixins.DropdownMenuMixin],
|
||||
|
||||
handleClickSettingsEntry: function() {
|
||||
// XXX to be implemented
|
||||
// XXX to be implemented at the same time as unhiding the entry
|
||||
},
|
||||
|
||||
handleClickAccountEntry: function() {
|
||||
// XXX to be implemented
|
||||
navigator.mozLoop.openFxASettings();
|
||||
},
|
||||
|
||||
handleClickAuthEntry: function() {
|
||||
@@ -242,6 +242,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
onMouseLeave: this.hideDropdownMenu},
|
||||
SettingsDropdownEntry({label: __("settings_menu_item_settings"),
|
||||
onClick: this.handleClickSettingsEntry,
|
||||
displayed: false,
|
||||
icon: "settings"}),
|
||||
SettingsDropdownEntry({label: __("settings_menu_item_account"),
|
||||
onClick: this.handleClickAccountEntry,
|
||||
@@ -427,7 +428,7 @@ loop.panel = (function(_, mozL10n) {
|
||||
},
|
||||
|
||||
render: function() {
|
||||
if (navigator.mozLoop.loggedInToFxA) { // XXX to be implemented
|
||||
if (navigator.mozLoop.userProfile) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user