Changeset 14975

Show
Ignore:
Timestamp:
02/13/08 12:04:39 (1 year ago)
Author:
w_i
Message:

Backported [14974]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/MidCOM_2_8/midcom.helper.datamanager2/type/php.php

    r14808 r14975  
    3030    { 
    3131        $_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         
    3334        return true; 
    3435    }