Same fix as [1125] in the main trunk: Adjust the relative path to 'ajax.render.php' so that it can be called from the portal pages as well.

SVN:1.0.2[1126]
This commit is contained in:
Denis Flaven
2011-03-11 15:40:00 +00:00
parent 390b29a3f6
commit 8efca80450
5 changed files with 14 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ function UpdateObjectList(sClass, sId, sExtKeyToRemote)
aRelatedObjectIds[0] = 0;
}
var oql = "SELECT "+sClass+" AS c WHERE c.id IN (" + aRelatedObjectIds.join(", ") + ")";
$.post("ajax.render.php?style=list&encoding=oql",
$.post("../pages/ajax.render.php?style=list&encoding=oql",
{ operation: "ajax", filter: oql },
function(data){
$("#related_objects_"+sId).empty();
@@ -42,7 +42,7 @@ function ManageObjects(sTitle, sClass, sId, sExtKeyToRemote)
function Manage_LoadSelect(sSelectedId, sFilter)
{
$('#'+sSelectedId).addClass('loading');
$.post('ajax.render.php',
$.post('../pages/ajax.render.php',
{ operation: 'combo_options', filter: sFilter },
function(data){
$('#'+sSelectedId).empty();