Changeset 20575

Show
Ignore:
Timestamp:
10/03/08 12:51:20 (3 months ago)
Author:
riaf
Message:

発言時にjsでカウントアップ
フォロー外すときの再集計

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/rhaco/trunk/resources/templates/default/application.js

    r20570 r20575  
    4848                        } else { 
    4949                                notice('status updated!'); 
     50                                status_countup(); 
    5051                                status_load(response['status']); 
    5152                        } 
     
    6869} 
    6970 
     71function status_countup(){ 
     72        var count = parseInt($('#status_count').text()); 
     73        $('#status_count').text(count + 1); 
     74} 
     75 
    7076function notice(message){ 
    7177        $('#notice').html($('<p>').html(message).text()).fadeIn();