Esempio n. 1
0
        private void CoverClicked(jQueryEvent e)
        {
            e.PreventDefault();
            if (coverLoaded && !sendingReadReqeust)
            {
                sendingReadReqeust = true;

                MangaReadRequest request = new MangaReadRequest();
                request.id = data.id;
                request.nextId = nextMangaId;
                Request.Send(request, ReadRequestSuccess, ReadRequestFailure);
            }
        }
Esempio n. 2
0
 private void NextButtonClicked(jQueryEvent e)
 {
     e.PreventDefault();
     if (!inTransition && !sendingReadReqeust && manga.nextId != -1)
     {
         sendingReadReqeust = true;
         MangaReadRequest request = new MangaReadRequest();
         request.id = manga.nextId;
         request.nextId = MangasModule.Instance.GetNextMangaId(manga.nextId);
         Request.Send(request, ReadRequestSuccess, ReadRequestFailure);
     }
 }