Show
Ignore:
Timestamp:
03/12/09 09:11:52 (9 months ago)
Author:
fumiakiy
Message:

Merged sockfish to trunk. "svn merge -r3114:3527 http://code.sixapart.com/svn/movabletype/branches/sockfish/ ."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/default_templates/javascript.mtml

    r2846 r3531  
    433433                    cf.sid.value = u.sid; 
    434434            } 
    435             if (cf.post.disabled) 
     435            if (cf.post && cf.post.disabled) 
    436436                cf.post.disabled = false; 
    437             if (cf.preview_button.disabled) 
     437            if (cf.preview_button && cf.preview_button.disabled) 
    438438                cf.preview_button.disabled = false; 
    439439            mtRequestSubmitted = false; 
     
    452452<mt:IfBlog> 
    453453function mtEntryOnLoad() { 
     454    var cf = document['comments_form']; 
     455    if (cf && cf.preview) cf.preview.value = ''; 
    454456    <mt:Unless tag="IfPingsAccepted">mtHide('trackbacks-info');</mt:Unless> 
    455457    <mt:Unless tag="IfCommentsAccepted">mtHide('comments-open');</mt:Unless>