diff options
Diffstat (limited to 'extensions/Review/template/en')
-rw-r--r-- | extensions/Review/template/en/default/pages/review_history.html.tmpl | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/extensions/Review/template/en/default/pages/review_history.html.tmpl b/extensions/Review/template/en/default/pages/review_history.html.tmpl index 107f69f70..37e270e0e 100644 --- a/extensions/Review/template/en/default/pages/review_history.html.tmpl +++ b/extensions/Review/template/en/default/pages/review_history.html.tmpl @@ -20,21 +20,23 @@ %] <script type="text/javascript"> - YUI({ - base: 'js/yui3/', - combine: false, - groups: { - gallery: { - combine: false, - base: 'js/yui3/', - patterns: { 'gallery-': {} } + $(function () { + YUI({ + base: 'js/yui3/', + combine: false, + groups: { + gallery: { + combine: false, + base: 'js/yui3/', + patterns: { 'gallery-': {} } + } } - } - }).use('bz-review-history', function(Y) { - Y.ReviewHistory.render('#history', '#history-loading'); - var requestee = Y.one('#requestee'); + }).use('bz-review-history', function(Y) { + Y.ReviewHistory.render('#history', '#history-loading'); + var requestee = Y.one('#requestee'); - Y.ReviewHistory.refresh('[% requestee.login FILTER js %]', '[% requestee.name FILTER html FILTER js %]'); + Y.ReviewHistory.refresh('[% requestee.login FILTER js %]', '[% requestee.name FILTER html FILTER js %]'); + }); }); </script> |