2
0
forked from Wavyzz/dolibarr

Merge pull request #3557 from hregis/3.8

Fix: use get instead getJSON for avoid freezing
This commit is contained in:
Laurent Destailleur
2015-09-22 23:56:36 +02:00

View File

@@ -51,7 +51,7 @@ $(document).ready(function() {
$('#refreshbutton').click( function() {
$.pleaseBePatient("<?php echo $langs->trans('PleaseBePatient'); ?>");
$.getJSON( "<?php echo DOL_URL_ROOT . '/ecm/ajax/ecmdatabase.php'; ?>", {
$.get( "<?php echo DOL_URL_ROOT . '/ecm/ajax/ecmdatabase.php'; ?>", {
action: "build",
element: "ecm"
},