Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialQueryCreator.php |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | * Overridden from parent to ignore GUI parameters 'format' 'limit' and 'offset' |
68 | 68 | */ |
69 | 69 | protected function showFormatOptions( $format, array $paramValues, array $ignoredAttribs = array() ) { |
70 | | - return parent::showFormatOptions( $format, $paramValues, array( 'format', 'limit', 'offset', 'mainlabel' ) ); |
| 70 | + return parent::showFormatOptions( $format, $paramValues, array( 'format', 'limit', 'offset' ) ); |
71 | 71 | } |
72 | 72 | /** |
73 | 73 | * Creates the input form |
— | — | @@ -131,7 +131,12 @@ |
132 | 132 | <script type="text/javascript"> |
133 | 133 | jQuery(document).ready(function(){ |
134 | 134 | jQuery('#embed-code-dialog').dialog({ |
135 | | - autoOpen:false |
| 135 | + autoOpen:false, |
| 136 | + buttons:{ |
| 137 | + Ok: function(){ |
| 138 | + jQuery(this).dialog("close"); |
| 139 | + } |
| 140 | + } |
136 | 141 | }); |
137 | 142 | jQuery('#show-embed-code').bind('click', function(){ |
138 | 143 | jQuery('#embed-code-dialog').dialog("open"); |