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

@@ -96,7 +96,7 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates)
$(sSearchAreaId).block();
// Run the query and display the results
$.post( 'ajax.render.php', theMap,
$.post( '../pages/ajax.render.php', theMap,
function(data)
{
$(sSearchAreaId).html(data);
@@ -147,7 +147,7 @@ function LinksWidget(id, sClass, sAttCode, iInputId, sSuffix, bDuplicates)
theMap['operation'] = 'doAddObjects';
$('#busy_'+me.iInputId).html('&nbsp;<img src="../images/indicator.gif"/>');
// Run the query and display the results
$.post( 'ajax.render.php', theMap,
$.post( '../pages/ajax.render.php', theMap,
function(data)
{
//console.log('Data: ' + data);