Bug 1035846 Update the ToS link for the Loop standalone UI. r=dmose
authorMark Banner <standard8@mozilla.com>
Wed, 17 Sep 2014 19:23:31 +0100
changeset 218069 1c47b01eea8532dc2ec624a23b5d1bb209917509
parent 218068 d4400ded3075e4908f846a85a060456ba914f64d
child 218070 ff15047902268ddc1d9cfb069b5f7cf8c8b820e6
push id7029
push userrjesup@wgate.com
push dateSun, 05 Oct 2014 07:07:51 +0000
treeherdermozilla-aurora@701fcc5fcce9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose
bugs1035846
milestone34.0a2
Bug 1035846 Update the ToS link for the Loop standalone UI. r=dmose
browser/components/loop/standalone/content/js/webapp.js
browser/components/loop/standalone/content/js/webapp.jsx
--- a/browser/components/loop/standalone/content/js/webapp.js
+++ b/browser/components/loop/standalone/content/js/webapp.js
@@ -326,18 +326,18 @@ loop.webapp = (function($, _, OT, mozL10
       this.setState({showCallOptionsMenu: !state});
     },
 
     render: function() {
       var tos_link_name = mozL10n.get("terms_of_use_link_text");
       var privacy_notice_name = mozL10n.get("privacy_notice_link_text");
 
       var tosHTML = mozL10n.get("legal_text_and_links", {
-        "terms_of_use_url": "<a target=_blank href='" +
-          "https://accounts.firefox.com/legal/terms'>" + tos_link_name + "</a>",
+        "terms_of_use_url": "<a target=_blank href='/legal/terms'>" +
+          tos_link_name + "</a>",
         "privacy_notice_url": "<a target=_blank href='" +
           "https://www.mozilla.org/privacy/'>" + privacy_notice_name + "</a>"
       });
 
       var dropdownMenuClasses = React.addons.classSet({
         "native-dropdown-large-parent": true,
         "standalone-dropdown-menu": true,
         "visually-hidden": !this.state.showCallOptionsMenu
--- a/browser/components/loop/standalone/content/js/webapp.jsx
+++ b/browser/components/loop/standalone/content/js/webapp.jsx
@@ -326,18 +326,18 @@ loop.webapp = (function($, _, OT, mozL10
       this.setState({showCallOptionsMenu: !state});
     },
 
     render: function() {
       var tos_link_name = mozL10n.get("terms_of_use_link_text");
       var privacy_notice_name = mozL10n.get("privacy_notice_link_text");
 
       var tosHTML = mozL10n.get("legal_text_and_links", {
-        "terms_of_use_url": "<a target=_blank href='" +
-          "https://accounts.firefox.com/legal/terms'>" + tos_link_name + "</a>",
+        "terms_of_use_url": "<a target=_blank href='/legal/terms'>" +
+          tos_link_name + "</a>",
         "privacy_notice_url": "<a target=_blank href='" +
           "https://www.mozilla.org/privacy/'>" + privacy_notice_name + "</a>"
       });
 
       var dropdownMenuClasses = React.addons.classSet({
         "native-dropdown-large-parent": true,
         "standalone-dropdown-menu": true,
         "visually-hidden": !this.state.showCallOptionsMenu