http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72400
Revision: 72400
Author: dale
Date: 2010-09-05 08:49:56 +0000 (Sun, 05 Sep 2010)
Log Message:
-----------
added longer timeout to toolbar bind give wikitoolbar more time to buildout
Modified Paths:
--------------
branches/MwEmbedStandAlone/remotes/AddMediaWizardEditPage.js
Modified: branches/MwEmbedStandAlone/remotes/AddMediaWizardEditPage.js
===================================================================
--- branches/MwEmbedStandAlone/remotes/AddMediaWizardEditPage.js
2010-09-05 03:30:14 UTC (rev 72399)
+++ branches/MwEmbedStandAlone/remotes/AddMediaWizardEditPage.js
2010-09-05 08:49:56 UTC (rev 72400)
@@ -79,7 +79,8 @@
var $targetFileButton = $j( ".toolbar
[rel='file']" );
$targetFileButton
- .attr( 'title', gM( 'mwe-loading-add-media-wiz'
) );
+ .attr( 'title', gM( 'mwe-loading-add-media-wiz'
) )
+ .unbind()
mw.load( 'AddMedia.addMediaWizard', function() {
if( $targetFileButton.length != 0 ) {
@@ -88,6 +89,6 @@
} );
}
}
- }, 100 )
+ }, 200 )
} );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs