http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99790
Revision: 99790
Author: preilly
Date: 2011-10-14 18:49:37 +0000 (Fri, 14 Oct 2011)
Log Message:
-----------
mft r99783
Modified Paths:
--------------
branches/wmf/1.18wmf1/extensions/MobileFrontend/views/layout/_search_webkit.html.php
Modified:
branches/wmf/1.18wmf1/extensions/MobileFrontend/views/layout/_search_webkit.html.php
===================================================================
---
branches/wmf/1.18wmf1/extensions/MobileFrontend/views/layout/_search_webkit.html.php
2011-10-14 18:49:10 UTC (rev 99789)
+++
branches/wmf/1.18wmf1/extensions/MobileFrontend/views/layout/_search_webkit.html.php
2011-10-14 18:49:37 UTC (rev 99790)
@@ -23,8 +23,8 @@
</form>
</div>
<div class='nav' id='nav'>
- <form method="get" action="{$mainPageUrl}"><button type="submit"
id="homeButton">{$homeButton}</button></form>
- <form method="get" action="{$randomPageUrl}"><button type="submit"
id="randomButton">{$randomButton}</button></form>
+ <button onClick="javascript:location.href='{$mainPageUrl}';"
type="submit" id="homeButton">{$homeButton}</button>
+ <button onClick="javascript:location.href='{$randomPageUrl}';"
type="submit" id="randomButton">{$randomButton}</button>
</div>
</div>
EOD;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs