From 5f65795e79561f7b787767b7c184f66b65f74c5f Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Thu, 12 Jan 2017 19:04:17 +0800
Subject: Fix permission order and keep wording consistency
---
public/js/index.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'public/js')
diff --git a/public/js/index.js b/public/js/index.js
index 7effcbd7..1dfb02e1 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2291,17 +2291,17 @@ function updatePermission(newPermission) {
label = ' Limited';
title = "Signed people can edit & guest can't view"
break;
- case "private":
- label = ' Private';
- title = "Only owner can view & edit";
+ case "locked":
+ label = ' Locked';
+ title = "Only owner can edit";
break;
case "protected":
label = ' Protected';
title = "Only owner can edit & guest can't view";
break;
- case "locked":
- label = ' Locked';
- title = "Only owner can edit";
+ case "private":
+ label = ' Private';
+ title = "Only owner can view & edit";
break;
}
if (personalInfo.userid && owner && personalInfo.userid == owner) {
--
cgit v1.2.3