Skip to content
Snippets Groups Projects
Commit 5ee17a2f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1460 from atm-gauthier/3.5

error on ajax_constantonoff function
parents 324402be 92e8f54e
No related branches found
No related tags found
No related merge requests found
......@@ -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.'\';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment