[Pkg-owncloud-commits] [owncloud] 131/165: doc and indent

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:49 UTC 2015


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

taffit pushed a commit to branch stable8
in repository owncloud.

commit 490e779424178977c143eba94a139f249eb2416f
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Apr 21 12:19:15 2015 +0200

    doc and indent
---
 apps/encryption/js/encryption.js        | 4 ++++
 apps/encryption/js/settings-personal.js | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/apps/encryption/js/encryption.js b/apps/encryption/js/encryption.js
index 32b5055..7ed49f7 100644
--- a/apps/encryption/js/encryption.js
+++ b/apps/encryption/js/encryption.js
@@ -9,6 +9,10 @@ if (!OC.Encryption) {
 	OC.Encryption = {};
 }
 
+/**
+ * @namespace
+ * @memberOf OC
+ */
 OC.Encryption = {
 	displayEncryptionWarning: function () {
 		if (!OC.Notification.isHidden()) {
diff --git a/apps/encryption/js/settings-personal.js b/apps/encryption/js/settings-personal.js
index bf3aeaa..e36f10a 100644
--- a/apps/encryption/js/settings-personal.js
+++ b/apps/encryption/js/settings-personal.js
@@ -17,10 +17,10 @@ OC.Encryption = {
 			OC.generateUrl('/apps/encryption/ajax/updatePrivateKeyPassword'),
 			{oldPassword: oldPrivateKeyPassword, newPassword: newPrivateKeyPassword}
 		).success(function (response) {
-				OC.msg.finishedSuccess('#encryption .msg', response.message);
-			}).fail(function (response) {
-				OC.msg.finishedError('#encryption .msg', response.responseJSON.message);
-			});
+			OC.msg.finishedSuccess('#encryption .msg', response.message);
+		}).fail(function (response) {
+			OC.msg.finishedError('#encryption .msg', response.responseJSON.message);
+		});
 	}
 };
 

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