From a1170c4c822a3f5e04c80abc24faee5455650a4a Mon Sep 17 00:00:00 2001 From: Khushboo Vashi Date: Tue, 3 Nov 2015 11:31:35 +0530 Subject: [PATCH] Do not allow to edit data from the properties dialog --- web/pgadmin/static/js/backform.pgadmin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js index f1a39132e..d8f1b380b 100644 --- a/web/pgadmin/static/js/backform.pgadmin.js +++ b/web/pgadmin/static/js/backform.pgadmin.js @@ -447,6 +447,7 @@ visible: evalASFunc(s.show), // This can be disabled in some cases (if not hidden) disabled: (mode == 'properties' ? true : evalASFunc(s.disabled)), + editable: (mode == 'properties' ? false : evalASFunc(s.disabled)), subnode: (_.isString(s.model) && s.model in pgBrowser.Nodes) ? pgBrowser.Nodes[s.model].model : s.model, canAdd: (mode == 'properties' ? false : evalASFunc(s.canAdd)),