From 0b7d138871041d4ef2d77d7d035e75dc7fbf79a5 Mon Sep 17 00:00:00 2001 From: Abhijeet Kaur Date: Sat, 13 May 2017 02:33:47 +0530 Subject: [PATCH] settings: Make description textarea readonly for non-admin users. Fixes #4754. --- static/js/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/admin.js b/static/js/admin.js index 2aa8715e0e..5009ef715e 100644 --- a/static/js/admin.js +++ b/static/js/admin.js @@ -9,7 +9,7 @@ exports.show_or_hide_menu_item = function () { } else { item.find("span").text(i18n.t("Organization settings")); $(".organization-box [data-name='organization-settings']") - .find("input, button, select").attr("disabled", true); + .find("input, textarea, button, select").attr("disabled", true); $(".organization-box [data-name='auth-methods']") .find("input, button, select, checked").attr("disabled", true); $(".organization-box [data-name='default-streams-list']")