SimpleAjax-Action nur noch ausführen, wenn do=rateit übergeben wird

This commit is contained in:
2015-07-16 08:29:24 +02:00
parent 5033e0688a
commit 4535d94266
3 changed files with 103 additions and 101 deletions

View File

@ -271,7 +271,7 @@ function doRateIt() {
});
window.addEvent('domready', function(e) {
RateItRating = new RateItRatings({url:'SimpleAjax.php'});
RateItRating = new RateItRatings({url:'SimpleAjax.php?do=rateit'});
});
} else if (window.jQuery) {
// the rateit plugin as an Object
@ -579,7 +579,7 @@ function doRateIt() {
async: false,
cache: true
});
RateItRating = Object.create(RateItRatings).initialize({url:'SimpleAjax.php'});
RateItRating = Object.create(RateItRatings).initialize({url:'SimpleAjax.php?do=rateit'});
});
var jEscape = function(jquery) {