Commit 8dbd5810 authored by christian.zenker's avatar christian.zenker

fixed a bug with the removal of baseUrl


git-svn-id: http://svn.t3o.typo3.org/extensions/projects/t3org/randombanners/trunk@1836 e8cb78a8-64f2-4011-8042-bd1ea5058d47
parent 79c85257
var banner_position_array = new Array();
function clickBanner(el) {
$.ajax({
url: 'index.php?type=69&tx_randombanners_list[action]=show&tx_randombanners_list[banner]=' + parseInt($(el).attr('rel')) +'&tx_randombanners_list[controller]=Banner',
url: '/index.php?type=69&tx_randombanners_list[action]=show&tx_randombanners_list[banner]=' + parseInt($(el).attr('rel')) +'&tx_randombanners_list[controller]=Banner',
success: function(backData) {
return true;
}
......@@ -82,7 +82,7 @@ $(document).ready(function() {
if($('#randombannersNumber')) {
// if: load via ajax should be done
$.ajax({
url: 'index.php?type=69&tx_randombanners_list[action]=list&tx_randombanners_list[controller]=Banner&tx_randombanners_list[numberOfBannersShown]=' + parseInt($('#randombannersNumber').html()),
url: '/index.php?type=69&tx_randombanners_list[action]=list&tx_randombanners_list[controller]=Banner&tx_randombanners_list[numberOfBannersShown]=' + parseInt($('#randombannersNumber').html()),
success: function(html) {
$('#randombanners').append(html);
initBanners();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment