Skip to content

Commit

Permalink
Fix: use get instead getJSON for avoid freezing
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Sep 20, 2015
1 parent e85ddbb commit de04f30
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 de04f30

Please sign in to comment.