r94490 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94489‎ | r94490 | r94491 >
Date:05:27, 15 August 2011
Author:devayon
Status:deferred
Tags:
Comment:
embed code modal window placement fix
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialQueryCreator.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialQueryCreator.php
@@ -119,7 +119,7 @@
120120
121121 $result .= '<a href="' . htmlspecialchars( wfMsg( 'smw_ask_doculink' ) ) . '">' . wfMsg( 'smw_ask_help' ) . '</a>';
122122 if ( $this->uiCore->getQueryString() != '' ) { // hide #ask if there isnt any query defined
123 - $result .= ' | <a name="show-embed-code" id="show-embed-code" href="#show-embed-code">' . wfMsg( 'smw_ask_show_embed' ) . '</a>';
 123+ $result .= ' | <a name="show-embed-code" id="show-embed-code" href="##">' . wfMsg( 'smw_ask_show_embed' ) . '</a>';
124124 $result .= '<div id="embed-code-dialog">' .
125125 $this->getAskEmbedBox() .
126126 '</div>';