~lovesyao/bbs2ch/rewrite-subject

« back to all changes in this revision

Viewing changes to chrome/content/bbs2chreader/board/page.js

  • Committer: Nazo
  • Date: 2008-07-19 12:35:12 UTC
  • Revision ID: lovesyao@hotmail.com-20080719123512-v330oicfz2di4sp0
スレ一覧の更新をリライトした (in progress)

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
                }
468
468
        }
469
469
 
 
470
        gBoardItems.subject.update(function(aStatus){
 
471
/*              if(aStatus == 302){
 
472
                        setStatus("スレッド一覧を取得できませんでした。板が移転した可能性があります。");
 
473
                        document.getElementById("dckUpdate").selectedIndex = 1;
 
474
                        return;
 
475
                }
 
476
                if(aStatus != 200){
 
477
                        setStatus("ネットワークの問題により、スレッド一覧を取得できませんでした。");
 
478
                        return;
 
479
                }*/
 
480
                if(!gBoardItems.settingFile.exists() || gBoardItems.settingFile.fileSize==0){
 
481
                        settingUpdate();
 
482
                }else{
 
483
                        initTreeSubject();
 
484
                }
 
485
        });
 
486
 
 
487
/*
470
488
        gSubjectDownloader = new b2rDownloader(gBoardItems.subjectURL.spec,
471
489
                                                                        gBoardItems.subjectFile.path);
472
490
 
512
530
 
513
531
        gSubjectDownloader.download();
514
532
        setStatus("request: " + gSubjectDownloader.urlSpec);
 
533
*/
515
534
}
516
535
 
517
536