2
0
forked from Wavyzz/dolibarr

error on ajax_constantonoff function

This commit is contained in:
Gauthier
2014-03-10 10:53:20 +01:00
parent 97677f08a9
commit 92e8f54e9a

View File

@@ -383,7 +383,7 @@ function ajax_constantonoff($code, $input=array(), $entity=null, $revertonoff=0)
$out= "\n<!-- Ajax code to switch constant ".$code." -->".'
<script type="text/javascript">
$(function() {
$(document).ready(function() {
var input = '.json_encode($input).';
var url = \''.DOL_URL_ROOT.'/core/ajax/constantonoff.php\';
var code = \''.$code.'\';