Changeset 2650 for branches/release-41/default_templates/javascript.mtml
- Timestamp:
- 06/28/08 00:16:50 (17 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-41/default_templates/javascript.mtml
r2631 r2650 308 308 </mt:Ignore> 309 309 var mtFetchedUser = false; 310 <mt:IfBlog> 310 311 function mtFetchUser(cb) { 311 312 if (!cb) cb = 'mtSetUser'; … … 324 325 } 325 326 } 327 </mt:IfBlog> 326 328 327 329 <mt:Ignore> … … 347 349 */ 348 350 </mt:Ignore> 351 <mt:IfBlog> 349 352 var mtRequestSubmitted = false; 350 353 function mtCommentOnSubmit(f) { … … 429 432 cf.sid.value = u.sid; 430 433 } 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> 434 443 435 444 <mt:Ignore> … … 440 449 */ 441 450 </mt:Ignore> 451 <mt:IfBlog> 442 452 function mtEntryOnLoad() { 443 453 <mt:Unless tag="IfPingsAccepted">mtHide('trackbacks-info');</mt:Unless> … … 461 471 462 472 mtAttachEvent('usersignin', mtUserOnLoad); 473 </mt:IfBlog> 463 474 464 475 <mt:Ignore> … … 552 563 */ 553 564 </mt:Ignore> 565 <mt:IfBlog> 554 566 function mtShowGreeting() { 555 567 <mt:IfRegistrationAllowed> … … 602 614 </mt:IfRegistrationAllowed> 603 615 } 616 </mt:IfBlog> 604 617 605 618 <mt:Ignore> … … 842 855 // END: fast browser onload init 843 856 857 <mt:IfBlog> 844 858 <mt:IfRegistrationAllowed> 845 859 /*** … … 867 881 } 868 882 </mt:IfRegistrationAllowed> 883 </mt:IfBlog>
