diff --git a/apps/common/main/lib/view/About.js b/apps/common/main/lib/view/About.js index 068e6bb3c..4a50978b3 100644 --- a/apps/common/main/lib/view/About.js +++ b/apps/common/main/lib/view/About.js @@ -90,7 +90,7 @@ define([ '', '', '', - '<% print(publisherurl.replace(/https?:\\/{2}/, "")) %>', + '<% print(publisherurl.replace(/https?:\\/{2}/, "").replace(/\\/$/,"")) %>', '', '', '', @@ -143,7 +143,7 @@ define([ '', '', '', - '', + '', '', '', '' @@ -156,7 +156,7 @@ define([ el.html(this.template({ publishername: '{{PUBLISHER_NAME}}', publisheraddr: '{{PUBLISHER_ADDRESS}}', - publisherurl: /^(?:https?:\/{2})?(\S+)/.exec('{{PUBLISHER_URL}}')[1], + publisherurl: '{{PUBLISHER_URL}}', supportemail: '{{SUPPORT_EMAIL}}', phonenum: '{{PUBLISHER_PHONE}}', scope: this