diff --git a/javascript/InlineFormAction.js b/javascript/InlineFormAction.js index 1bb31a21c..681f207f8 100755 --- a/javascript/InlineFormAction.js +++ b/javascript/InlineFormAction.js @@ -4,7 +4,7 @@ Behaviour.register({ 'div.inlineformaction input#$ID': { onclick: function() { - var url = baseHref() + 'admin-custom/' + this.name.substring(7) + '?ID=' + $('Form_EditForm_ID').value + '&ajax=1'; + var url = jQuery('base').attr('href') + 'admin-custom/' + this.name.substring(7) + '?ID=' + $('Form_EditForm_ID').value + '&ajax=1'; new Ajax.Request( url, { onSuccess: Ajax.Evaluator,