aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-02-12 11:30:49 -0600
committerzsloan2020-02-12 11:30:49 -0600
commitcbdab7d7dcf9b0d7d6efd5e72035b5242e0ee4cf (patch)
treeeb672d1fa793e464a36d5caa030b85e886280cc5
parent1483bac4a243ab672afc5ea225423ad70ccc9260 (diff)
downloadgenenetwork2-cbdab7d7dcf9b0d7d6efd5e72035b5242e0ee4cf.tar.gz
Removed option to edit using ckeditor for the time being
-rw-r--r--wqflask/wqflask/docs.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/wqflask/wqflask/docs.py b/wqflask/wqflask/docs.py
index 1dbbabea..afa1fec8 100644
--- a/wqflask/wqflask/docs.py
+++ b/wqflask/wqflask/docs.py
@@ -23,11 +23,12 @@ class Docs(object):
self.content = result[1]
self.editable = "false"
- try:
- if g.user_session.record['user_email_address'] == "zachary.a.sloan@gmail.com" or g.user_session.record['user_email_address'] == "labwilliams@gmail.com":
- self.editable = "true"
- except:
- pass
+ # ZS: Removing option to edit to see if text still gets vandalized
+ # try:
+ # if g.user_session.record['user_email_address'] == "zachary.a.sloan@gmail.com" or g.user_session.record['user_email_address'] == "labwilliams@gmail.com":
+ # self.editable = "true"
+ # except:
+ # pass
def update_text(start_vars):