[Pkg-owncloud-commits] [owncloud] 183/273: Fixed remote share password param detection

David Prévot taffit at moszumanska.debian.org
Fri Jul 4 03:13:14 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit fd68034357170763573db49a7e8b52893e554f30
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Tue Jul 1 17:34:01 2014 +0200

    Fixed remote share password param detection
---
 apps/files_sharing/js/external.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js
index 1eb447d..969a2b1 100644
--- a/apps/files_sharing/js/external.js
+++ b/apps/files_sharing/js/external.js
@@ -58,7 +58,7 @@ $(document).ready(function () {
 		if (params.remote && params.token && params.owner && params.name) {
 			// clear hash, it is unlikely that it contain any extra parameters
 			location.hash = '';
-			params.passwordProtected = parseInt(params.passwordProtected, 10) === 1;
+			params.passwordProtected = parseInt(params.protected, 10) === 1;
 			OCA.Sharing.showAddExternalDialog(
 				params.remote,
 				params.token,

-- 
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