On Thu, Jul 2, 2009 at 1:22 PM, sancelot@free.fr wrote:
----- Mail Original ----- De: "Andrew Garrett" agarrett@wikimedia.org À: "Wikimedia developers" wikitech-l@lists.wikimedia.org Envoyé: Jeudi 2 Juillet 2009 13h19:13 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [Wikitech-l] button action in form problem
On 02/07/2009, at 10:02 AM, sancelot@free.fr wrote:
Hi, I have got an extension with a form and a submit button (mw 1.14) the problem is when I submit the form button, the search action is performed instead of my function !!
You've given shockingly little detail here, but I bet you're sending a field called 'search'. Try renaming the field.
No, I haven't have a look at the extension code I downloaded here : http://www.organicdesign.co.nz/Extension:EasyGallery
Don't use wfElement, use Xml::openElement. wfElement autocloses.
Bryan