mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 12:30:02 +02:00
Customfields:
- add missing delete button confirm - fix some js bugs when changing type - add accidentally removed check for overwriting an existing field - make cf_name read-only after it is set
This commit is contained in:
@@ -797,7 +797,7 @@ app.classes.admin = AppJS.extend(
|
||||
cf_type_change: function(e,widget) {
|
||||
var root = widget.getRoot();
|
||||
var attributes = widget.getArrayMgr('content').getEntry('attributes['+widget.getValue()+']')||{};
|
||||
root.getWidgetById('cf_values').set_statustext(widget.egw().lang(widget.getArrayMgr('content').getEntry('options['+widget.getValue()+']'))||'');
|
||||
root.getWidgetById('cf_values').set_statustext(widget.egw().lang(widget.getArrayMgr('content').getEntry('options['+widget.getValue()+']')||''));
|
||||
root.getWidgetById('cf_len').set_disabled(!attributes.cf_len);
|
||||
root.getWidgetById('cf_rows').set_disabled(!attributes.cf_rows);
|
||||
root.getWidgetById('cf_values').set_disabled(!attributes.cf_values);
|
||||
|
Reference in New Issue
Block a user