Update ordinary cat links as well
authorAndrew Garrett <werdna@users.mediawiki.org>
Tue, 25 Aug 2009 14:28:37 +0000 (14:28 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Tue, 25 Aug 2009 14:28:37 +0000 (14:28 +0000)
skins/common/preview.js

index 724e992..b9fef56 100644 (file)
@@ -24,7 +24,8 @@ function doLivePreview( e ) {
        page.load( wgScript+'?action=submit',
                                postData,
                function() {
-                       var copyElements = ['#wikiPreview', '.templatesUsed', '.hiddencats'];
+                       var copyElements = ['#wikiPreview', '.templatesUsed', '.hiddencats',
+                                                               '#catlinks'];
                        
                        for( var i=0; i<copyElements.length; ++i) {
                                // For all the specified elements, find the elements in the loaded page