Ignore:
Timestamp:
Nov 30, 2010, 9:42:35 PM (13 years ago)
Author:
rvelices
Message:

bug 2043: merge from trunk to branch 2.1
some Javascript errors in default theme (also makes the rating.js script async)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/themes/default/js/rating.js

    r6576 r7958  
    9292        return false;
    9393}
     94
     95(function() {
     96if (typeof _pwgRatingAutoQueue!="undefined" && _pwgRatingAutoQueue.length)
     97{
     98    for (var i=0; i<_pwgRatingAutoQueue.length; i++)
     99        makeNiceRatingForm(_pwgRatingAutoQueue[i]);
     100}
     101_pwgRatingAutoQueue = {
     102        push: function(opts) {
     103                makeNiceRatingForm(opts);
     104        }
     105}
     106})();
Note: See TracChangeset for help on using the changeset viewer.