Changeset 14974
- Timestamp:
- 02/13/08 12:03:09 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.datamanager2/type/php.php
r14329 r14974 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 }
