Index: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php |
— | — | @@ -87,6 +87,7 @@ |
88 | 88 | 'parentheses', |
89 | 89 | ), |
90 | 90 | 'dependencies' => array( |
| 91 | + 'jquery.appear', |
91 | 92 | 'jquery.tipsy', |
92 | 93 | 'jquery.json', |
93 | 94 | 'jquery.localize', |
Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -758,8 +758,10 @@ |
759 | 759 | if ( !showOptions ) { |
760 | 760 | context.$ui.find( '.articleFeedback-options' ).hide(); |
761 | 761 | } |
762 | | - // Show initial form and report values |
763 | | - $.articleFeedback.fn.load.call( context ); |
| 762 | + // Show initial form and report values when the tool is visible |
| 763 | + context.$ui.appear( function() { |
| 764 | + $.articleFeedback.fn.load.call( context ); |
| 765 | + } ); |
764 | 766 | } |
765 | 767 | } |
766 | 768 | }; |