Fixed some URLs

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-19 12:20:37 +01:00
parent c195e60e08
commit b55bb55ac5
1 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ echo "</div>";
$.ajax({
type: "POST",
url: "<?php echo $config['homeurl']; ?>ajax.php",
url: "<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",
data: parameters,
success: function(data) {
if (data.success) {
@ -186,8 +186,8 @@ echo "</div>";
detailRecipient: $("div#tree-controller-detail-recipient"),
page: page,
tree: data.tree,
baseURL: "<?php echo $config['homeurl'].'/'; ?>",
ajaxURL: "<?php echo $config['homeurl'].'/'; ?>ajax.php",
baseURL: "<?php echo ui_get_full_url('', false, false, false); ?>",
ajaxURL: "<?php echo ui_get_full_url('ajax.php', false, false, false); ?>",
filter: {
search: parameters['filter']['search'],
status: parameters['filter']['status']