Merge "Dialogs: handle jQuery content for dialogs"

This commit is contained in:
jenkins-bot 2015-08-22 23:23:27 +00:00 committed by Gerrit Code Review
commit 43964691ab

View file

@ -135,6 +135,8 @@ $.wikiEditor.modules.dialogs = {
configuration.buttons = configuration.newButtons;
if ( module.htmlTemplate ) {
$content = mw.template.get( 'jquery.wikiEditor.dialogs.config', module.htmlTemplate ).render();
} else if ( module.html instanceof jQuery ) {
$content = module.html;
} else {
$content = $( $.parseHTML( module.html ) );
}