Bug 1142515: rename the pref contextInConverations to contextInConverSations, fixing a typo. r=Standard8

This commit is contained in:
Mike de Boer 2015-05-07 11:38:49 +02:00
Родитель 46a3f493b3
Коммит 7fb5d31c3d
6 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -1719,7 +1719,7 @@ pref("loop.support_url", "https://support.mozilla.org/kb/group-conversations-fir
pref("loop.contacts.gravatars.show", false);
pref("loop.contacts.gravatars.promo", true);
pref("loop.browserSharing.showInfoBar", true);
pref("loop.contextInConverations.enabled", false);
pref("loop.contextInConversations.enabled", false);
pref("social.sidebar.unload_timeout_ms", 10000);

Просмотреть файл

@ -714,7 +714,7 @@ loop.panel = (function(_, mozL10n) {
var contextClasses = React.addons.classSet({
context: true,
hide: !hostname ||
!this.props.mozLoop.getLoopPref("contextInConverations.enabled")
!this.props.mozLoop.getLoopPref("contextInConversations.enabled")
});
return (

Просмотреть файл

@ -714,7 +714,7 @@ loop.panel = (function(_, mozL10n) {
var contextClasses = React.addons.classSet({
context: true,
hide: !hostname ||
!this.props.mozLoop.getLoopPref("contextInConverations.enabled")
!this.props.mozLoop.getLoopPref("contextInConversations.enabled")
});
return (

Просмотреть файл

@ -408,7 +408,7 @@ loop.roomViews = (function(mozL10n) {
_shouldRenderContextView: function() {
return !!(
this.props.mozLoop.getLoopPref("contextInConverations.enabled") &&
this.props.mozLoop.getLoopPref("contextInConversations.enabled") &&
(this.state.roomContextUrls || this.state.roomDescription)
);
},

Просмотреть файл

@ -408,7 +408,7 @@ loop.roomViews = (function(mozL10n) {
_shouldRenderContextView: function() {
return !!(
this.props.mozLoop.getLoopPref("contextInConverations.enabled") &&
this.props.mozLoop.getLoopPref("contextInConversations.enabled") &&
(this.state.roomContextUrls || this.state.roomDescription)
);
},

Просмотреть файл

@ -126,7 +126,7 @@ navigator.mozLoop = {
// Ensure we skip FTE completely.
case "gettingStarted.seen":
case "contacts.gravatars.promo":
case "contextInConverations.enabled":
case "contextInConversations.enabled":
return true;
case "contacts.gravatars.show":
return false;