diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 07:02:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 07:02:32 +0200 |
commit | 6381615a30a2dd1a0a4300834806b8e2e8f84e8e (patch) | |
tree | 6c6e2214b28fc75936e24100731e470de30e1244 /extensions/Review/template/en | |
parent | e6d1b6fe2ad6e341ab63c30bde2544e5a8b77b31 (diff) | |
download | bugzilla-6381615a30a2dd1a0a4300834806b8e2e8f84e8e.tar.gz bugzilla-6381615a30a2dd1a0a4300834806b8e2e8f84e8e.tar.xz |
Bug 1377621 - YUI is broken on review history page
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> |