[Pkg-owncloud-commits] [owncloud] 274/394: fixing string concatenation in javascript

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:25 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit ae54364d7c8baf5138d166855db6431190963886
Author: Thomas Mueller <thomas.mueller at tmit.eu>
Date:   Mon Jan 7 21:53:48 2013 +0100

    fixing string concatenation in javascript
---
 apps/files/js/files.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index ac75135..f0d3401 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 /

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list