Follow-up to bug 1035846 Add a slash onto the end of the url for the ToS Link on the Loop Standalone UI. rs=mikedeboer over irc DONTBUILD
authorMark Banner <standard8@mozilla.com>
Wed, 24 Sep 2014 12:47:04 +0100
changeset 225394 ba71cd5336b159acf8d3853df68f90d80060a8e3
parent 225393 07c61c94ab8cd7d272984fb8fadf2179a8785e6d
child 225395 715696027179674fc7279e485b2c5143fc2a3ed9
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmikedeboer
bugs1035846
milestone34.0a2
Follow-up to bug 1035846 Add a slash onto the end of the url for the ToS Link on the Loop Standalone UI. rs=mikedeboer over irc DONTBUILD
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
@@ -309,17 +309,17 @@ 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='/legal/terms'>" +
+        "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,
--- a/browser/components/loop/standalone/content/js/webapp.jsx
+++ b/browser/components/loop/standalone/content/js/webapp.jsx
@@ -309,17 +309,17 @@ 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='/legal/terms'>" +
+        "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,