Skip to content

Commit

Permalink
Merge pull request #3557 from hregis/3.8
Browse files Browse the repository at this point in the history
Fix: use get instead getJSON for avoid freezing
  • Loading branch information
eldy committed Sep 22, 2015
2 parents 077c696 + de04f30 commit dc89e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/ecm/tpl/enablefiletreeajax.tpl.php
Expand Up @@ -51,7 +51,7 @@ function(elem) {

$('#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"
},
Expand Down

0 comments on commit dc89e6c

Please sign in to comment.