Adjust the relative path to 'ajax.render.php' so that it can be called from the portal pages as well.

SVN:trunk[1125]
This commit is contained in:
Denis Flaven
2011-03-11 11:11:56 +00:00
parent 0b32f511b8
commit cfbf77544e
7 changed files with 18 additions and 18 deletions

View File

@@ -132,7 +132,7 @@ class UILinksWizard
function AddObjects()
{
// TO DO: compute the list of objects already linked with the current Object
$.post( 'ajax.render.php', { 'operation': 'addObjects',
$.post( '../pages/ajax.render.php', { 'operation': 'addObjects',
'class': '{$this->m_sClass}',
'linkageAttr': '{$this->m_sLinkageAttr}',
'linkedClass': '{$this->m_sLinkedClass}',
@@ -175,7 +175,7 @@ class UILinksWizard
theMap['operation'] = 'searchObjectsToAdd';
// Run the query and display the results
$.post( 'ajax.render.php', theMap,
$.post( '../pages/ajax.render.php', theMap,
function(data)
{
$('#SearchResultsToAdd').html(data);
@@ -223,7 +223,7 @@ class UILinksWizard
theMap['operation'] = 'doAddObjects';
// Run the query and display the results
$.post( 'ajax.render.php', theMap,
$.post( '../pages/ajax.render.php', theMap,
function(data)
{
//console.log('Data: ' + data);