summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-07 21:53:48 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-07 21:53:48 +0100
commitae54364d7c8baf5138d166855db6431190963886 (patch)
tree0e7ef98df254f84fd93ba701cb63cdcad92c4f53
parentf31d37cb10f15bc881eaa478bb6b44c8e5cc226f (diff)
downloadnextcloud-server-ae54364d7c8baf5138d166855db6431190963886.tar.gz
nextcloud-server-ae54364d7c8baf5138d166855db6431190963886.zip
fixing string concatenation in javascript
-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 ac75135b50e..f0d34018722 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -596,7 +596,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 /