Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php |
— | — | @@ -353,7 +353,7 @@ |
354 | 354 | $wgOut->addScriptFile( "$smwgScriptPath/skins/elastic/jquery.elastic.source.js" ); |
355 | 355 | $javascript = <<<EOT |
356 | 356 | jQuery(document).ready(function(){ |
357 | | - jQuery('#querybox').elastic(); |
| 357 | +// jQuery('#querybox').elastic(); |
358 | 358 | jQuery('#querybox').trigger('update'); |
359 | 359 | }); |
360 | 360 | EOT; |
— | — | @@ -908,7 +908,7 @@ |
909 | 909 | var children = new_div.getElementsByTagName('*'); |
910 | 910 | var x; |
911 | 911 | for (x = 0; x < children.length; x++) { |
912 | | - if (children[x].for) children[x].for="display"+num_elements; |
| 912 | + if (jQuery(children[x]).attr('for')) jQuery(children[x]).attr('for',"display"+num_elements); |
913 | 913 | if (children[x].name){ |
914 | 914 | children[x].id = children[x].name.replace(/_num/, ''+num_elements); |
915 | 915 | children[x].name = children[x].name.replace(/_num/, '[' + num_elements + ']'); |
— | — | @@ -944,7 +944,7 @@ |
945 | 945 | var children = new_div.getElementsByTagName('*'); |
946 | 946 | var x; |
947 | 947 | for (x = 0; x < children.length; x++) { |
948 | | - if (children[x].for) children[x].for="display"+num_elements; |
| 948 | + if (jQuery(children[x]).attr('for')) jQuery(children[x]).attr('for',"display"+num_elements); |
949 | 949 | if (children[x].name){ |
950 | 950 | children[x].id = children[x].name.replace(/_num/, ''+num_elements); |
951 | 951 | children[x].name = children[x].name.replace(/_num/, '[' + num_elements + ']'); |
— | — | @@ -980,7 +980,7 @@ |
981 | 981 | var children = new_div.getElementsByTagName('*'); |
982 | 982 | var x; |
983 | 983 | for (x = 0; x < children.length; x++) { |
984 | | - if (children[x].for) children[x].for="display"+num_elements; |
| 984 | + if (jQuery(children[x]).attr('for')) jQuery(children[x]).attr('for',"display"+num_elements); |
985 | 985 | if (children[x].name){ |
986 | 986 | children[x].id = children[x].name.replace(/_num/, ''+num_elements); |
987 | 987 | children[x].name = children[x].name.replace(/_num/, '[' + num_elements + ']'); |
Index: trunk/extensions/SemanticMediaWiki/skins/SMW_custom.css |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | } |
175 | 175 | |
176 | 176 | .smwquisortlabel{ |
177 | | - width: 12em; |
| 177 | + width: 15em; |
178 | 178 | float: left; |
179 | 179 | } |
180 | 180 | /* search, browse, RDF icons */ |