Show
Ignore:
Timestamp:
08/21/10 20:31:41 (21 months ago)
Author:
ort
Message:

Избавляемся от использования JsHttpRequest? и отдаем ответы в формате JSON

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/classes/actions/ActionBlog.class.php

    r892 r996  
    787787         */ 
    788788        protected function AjaxAddComment() { 
    789                 $this->Viewer_SetResponseAjax(); 
     789                $this->Viewer_SetResponseAjax('json'); 
    790790                $this->SubmitComment(); 
    791791        }        
     
    947947         */ 
    948948        protected function AjaxAddBlogInvite() { 
    949                 $this->Viewer_SetResponseAjax(); 
     949                $this->Viewer_SetResponseAjax('json'); 
    950950                $sUsers=getRequest('users',null,'post'); 
    951951                $sBlogId=getRequest('idBlog',null,'post'); 
     
    10931093         */ 
    10941094        protected function AjaxReBlogInvite() { 
    1095                 $this->Viewer_SetResponseAjax(); 
     1095                $this->Viewer_SetResponseAjax('json'); 
    10961096                $sUserId=getRequest('idUser',null,'post'); 
    10971097                $sBlogId=getRequest('idBlog',null,'post');