Index: trunk/extensions/MetavidWiki/skins/mv_allpages.js |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | //pass along all url params (update the title) |
39 | 39 | podLink+='?'; |
40 | 40 | for(i in sURL.queryKey){ |
41 | | - if(i !='title')podLink+=i+'='+sURL.queryKey[i]; |
| 41 | + if(i !='title')podLink+=i+'='+sURL.queryKey[i]+'&'; |
42 | 42 | } |
43 | 43 | }else{ |
44 | 44 | // /title/askparam format |
— | — | @@ -52,11 +52,13 @@ |
53 | 53 | } |
54 | 54 | //if we have an inline query add a search link |
55 | 55 | $j('.smwtable').each(function(){ |
56 | | - var pLink = $j('#'+this.id+' .smwfooter a').attr('href').replace('Special:Ask',mvAskTitle ); |
57 | | - var colspan = $j('.smwfooter .sortbottom').attr('colspan'); |
58 | | - var pHTML = '<a title="'+msg_video_rss+'" href="'+pLink+'">'+rssImg+'</a>'; |
59 | | - js_log("plink: "+pLink + ' colspan:'+ colspan + ' ph:'+pHTML); |
60 | | - $j('#'+this.id+' tbody').prepend('<tr><td colspan="'+colspan+'">'+pHTML+'</td></tr>'); |
| 56 | + if($j('#'+this.id+' .smwfooter a').length!=0){ |
| 57 | + var pLink = $j('#'+this.id+' .smwfooter a').attr('href').replace('Special:Ask',mvAskTitle ); |
| 58 | + var colspan = $j('.smwfooter .sortbottom').attr('colspan'); |
| 59 | + var pHTML = '<a title="'+msg_video_rss+'" href="'+pLink+'">'+rssImg+'</a>'; |
| 60 | + js_log("plink: "+pLink + ' colspan:'+ colspan + ' ph:'+pHTML); |
| 61 | + $j('#'+this.id+' tbody').prepend('<tr><td colspan="'+colspan+'">'+pHTML+'</td></tr>'); |
| 62 | + } |
61 | 63 | }); |
62 | 64 | } |
63 | 65 | function mv_do_mvd_link_rewrite(){ |