summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-08 00:32:41 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-08 00:32:41 +0100
commit7b9e6d2f2ce1503b113017db4dbe43c68da0101b (patch)
treee2bf921f85f2f42b40ecbbfd89225bb634a76494 /apps
parent0dda8f5d1c3288888f1fe96ad31d59b7ccbdc7ba (diff)
downloadnextcloud-server-7b9e6d2f2ce1503b113017db4dbe43c68da0101b.tar.gz
nextcloud-server-7b9e6d2f2ce1503b113017db4dbe43c68da0101b.zip
fixing string concatenation in javascript
refs https://github.com/owncloud/core/commit/ae54364d7c8baf5138d166855db6431190963886
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 038660e6e49..bb298431e84 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -593,7 +593,7 @@ $(document).ready(function() {
break;
case 'web':
if(name.substr(0,8)!='https://' && name.substr(0,7)!='http://'){
- name='http://'.name;
+ name='http://'+name;
}
var localName=name;
if(localName.substr(localName.length-1,1)=='/'){//strip /