On 02/07/2009, at 12:22 PM, [email protected] wrote: > On 02/07/2009, at 10:02 AM, [email protected] 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
The cause isn't immediately obvious from scanning the code. You should probably send the actual request that is causing you problems, rather than expect us to read all of your code and find the bug. At least point to a test installation where we can try this out. You should be aware that this extension is vulnerable to a security exploit called 'cross-site scripting', by putting raw HTML into the wpParam parameter. See http://en.wikipedia.org/wiki/Cross- site_scripting for further details. -- Andrew Garrett Contract Developer, Wikimedia Foundation [email protected] http://werdn.us _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
