280
280
return Many2Many(field.id).setReadonly(readonly);
283
285
field.readOnly = readonly;
284
286
field.disabled = readonly;
287
289
MochiKit.DOM.addElementClass(field, 'readonlyfield');
289
291
MochiKit.DOM.removeElementClass(field, 'readonlyfield');