diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-07 21:53:48 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-07 21:53:48 +0100 |
commit | ae54364d7c8baf5138d166855db6431190963886 (patch) | |
tree | 0e7ef98df254f84fd93ba701cb63cdcad92c4f53 | |
parent | f31d37cb10f15bc881eaa478bb6b44c8e5cc226f (diff) | |
download | nextcloud-server-ae54364d7c8baf5138d166855db6431190963886.tar.gz nextcloud-server-ae54364d7c8baf5138d166855db6431190963886.zip |
fixing string concatenation in javascript
-rw-r--r-- | apps/files/js/files.js | 2 |
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 / |