Do not allow to edit data from the properties dialog

This commit is contained in:
Khushboo Vashi 2015-11-03 11:31:35 +05:30 committed by Ashesh Vashi
parent 45596dffa0
commit a1170c4c82

View File

@ -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)),