fixing string concatenation in javascript

refs ae54364d7c
remotes/origin/stable5
Thomas Mueller 14 years ago
parent 0dda8f5d1c
commit 7b9e6d2f2c
  1. 2
      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 /

Loading…
Cancel
Save