mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
issue 2596 add JS_CALLBACK method
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
df3ab6417c
commit
4782819765
1 changed files with 2 additions and 2 deletions
|
|
@ -502,7 +502,7 @@
|
||||||
|
|
||||||
$procResult = $oModule->proc();
|
$procResult = $oModule->proc();
|
||||||
|
|
||||||
$methodList = array('XMLRPC'=>1, 'JSON'=>1);
|
$methodList = array('XMLRPC'=>1, 'JSON'=>1, 'JS_CALLBACK'=>1);
|
||||||
if(!$oModule->stop_proc && !isset($methodList[Context::getRequestMethod()]))
|
if(!$oModule->stop_proc && !isset($methodList[Context::getRequestMethod()]))
|
||||||
{
|
{
|
||||||
$error = $oModule->getError();
|
$error = $oModule->getError();
|
||||||
|
|
@ -599,7 +599,7 @@
|
||||||
if(!$output->toBool()) $this->error = $output->getMessage();
|
if(!$output->toBool()) $this->error = $output->getMessage();
|
||||||
|
|
||||||
// Use message view object, if HTML call
|
// Use message view object, if HTML call
|
||||||
$methodList = array('XMLRPC'=>1, 'JSON'=>1);
|
$methodList = array('XMLRPC'=>1, 'JSON'=>1, 'JS_CALLBACK'=>1);
|
||||||
if(!isset($methodList[Context::getRequestMethod()])) {
|
if(!isset($methodList[Context::getRequestMethod()])) {
|
||||||
|
|
||||||
if($_SESSION['XE_VALIDATOR_RETURN_URL'])
|
if($_SESSION['XE_VALIDATOR_RETURN_URL'])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue