Fix: An ajax return must not include html header.
This commit is contained in:
parent
983b5c40e7
commit
a4234c1768
@ -41,15 +41,17 @@ require('../main.inc.php');
|
|||||||
$langs->load("products");
|
$langs->load("products");
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
//top_htmlhead("", "", 1); // Disabled. An ajax return must not include html header.
|
//top_htmlhead("", "", 1); // Disabled. An ajax return must not include html header.
|
||||||
|
|
||||||
//print '<body class="nocellnopadd">'."\n";
|
//print '<body class="nocellnopadd">'."\n";
|
||||||
|
|
||||||
|
dol_syslog(join(',',$_POST));
|
||||||
|
|
||||||
// Generation liste de produits
|
// Generation liste de produits
|
||||||
if (! empty($_GET['keysearch']) || ! empty($_GET['term']))
|
if (! empty($_GET['keysearch']) || ! empty($_GET['term']))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -35,6 +35,11 @@ if (! defined("NOLOGIN")) define("NOLOGIN",'1');
|
|||||||
|
|
||||||
require('../main.inc.php');
|
require('../main.inc.php');
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* View
|
||||||
|
*/
|
||||||
|
|
||||||
//top_htmlhead("", "", 1, 1); // Disabled. An ajax return must not include html header.
|
//top_htmlhead("", "", 1, 1); // Disabled. An ajax return must not include html header.
|
||||||
|
|
||||||
//print '<body id="mainbody">';
|
//print '<body id="mainbody">';
|
||||||
|
|||||||
@ -31,6 +31,7 @@ if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
|
|||||||
|
|
||||||
require('../main.inc.php');
|
require('../main.inc.php');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user