Changeset 14975
- Timestamp:
- 02/13/08 12:04:39 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/MidCOM_2_8/midcom.helper.datamanager2/type/php.php
r14808 r14975 30 30 { 31 31 $_MIDCOM->add_jsfile(MIDCOM_STATIC_URL . '/midcom.helper.datamanager2/codepress/codepress.js'); 32 $_MIDCOM->add_jsonload("{$this->name}.toggleReadOnly();"); 32 $_MIDCOM->add_jsonload("if(typeof {$this->name} != 'undefined'){{$this->name}.toggleReadOnly()}"); 33 33 34 return true; 34 35 }
