Show
Ignore:
Timestamp:
06/28/08 00:16:50 (17 months ago)
Author:
bsmith
Message:

bugzid:80365 - backporting changes from mtcs templatessets

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/default_templates/javascript.mtml

    r2631 r2650  
    308308</mt:Ignore> 
    309309var mtFetchedUser = false; 
     310<mt:IfBlog> 
    310311function mtFetchUser(cb) { 
    311312    if (!cb) cb = 'mtSetUser'; 
     
    324325    } 
    325326} 
     327</mt:IfBlog> 
    326328 
    327329<mt:Ignore> 
     
    347349 */ 
    348350</mt:Ignore> 
     351<mt:IfBlog> 
    349352var mtRequestSubmitted = false; 
    350353function mtCommentOnSubmit(f) { 
     
    429432                    cf.sid.value = u.sid; 
    430433            } 
    431         } 
    432     } 
    433 } 
     434            if (cf.post.disabled) 
     435                cf.post.disabled = false; 
     436            if (cf.preview_button.disabled) 
     437                cf.preview_button.disabled = false; 
     438            mtRequestSubmitted = false; 
     439        } 
     440    } 
     441} 
     442</mt:IfBlog> 
    434443 
    435444<mt:Ignore> 
     
    440449 */ 
    441450</mt:Ignore> 
     451<mt:IfBlog> 
    442452function mtEntryOnLoad() { 
    443453    <mt:Unless tag="IfPingsAccepted">mtHide('trackbacks-info');</mt:Unless> 
     
    461471 
    462472mtAttachEvent('usersignin', mtUserOnLoad); 
     473</mt:IfBlog> 
    463474 
    464475<mt:Ignore> 
     
    552563 */ 
    553564</mt:Ignore> 
     565<mt:IfBlog> 
    554566function mtShowGreeting() { 
    555567<mt:IfRegistrationAllowed> 
     
    602614</mt:IfRegistrationAllowed> 
    603615} 
     616</mt:IfBlog> 
    604617 
    605618<mt:Ignore> 
     
    842855// END: fast browser onload init 
    843856 
     857<mt:IfBlog> 
    844858<mt:IfRegistrationAllowed> 
    845859/*** 
     
    867881} 
    868882</mt:IfRegistrationAllowed> 
     883</mt:IfBlog>