Ignore:
Timestamp:
2013/10/22 20:46:51 (13 years ago)
Author:
pineray
Message:

#2440 APIの情報をJSONPで取得できるようにする

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/pages/api/LC_Page_Api_Json.php

    r23124 r23248  
    6565 
    6666        list($response_outer, $arrResponse) = SC_Api_Operation::doApiAction($arrParam); 
     67 
     68        if (isset($arrParam["callback"])) { 
     69            $arrResponse["callback"] = $arrParam["callback"]; 
     70        } 
     71 
    6772        SC_Api_Operation_Ex::sendApiResponse('json', $response_outer, $arrResponse); 
    6873        SC_Response_Ex::actionExit(); 
Note: See TracChangeset for help on using the changeset viewer.