Re: MooTools Observer: fullSubmit not working
Re: MooTools Observer: fullSubmit not working
- Subject: Re: MooTools Observer: fullSubmit not working
- From: Michael Schmiedgen <email@hidden>
- Date: Mon, 22 Apr 2013 14:05:54 +0200
Hi Johnny,
OK. I discovered the error.
In MTWonder.js the method observeField in the object MTAjaxSubmitButton
Some code like this:
} else if (updateContainerID != null) {
submitFunction = function(element, value) {
if(!options.onBeforeSubmit || options.onBeforeSubmit(formFieldID)) {
MTASB.update(updateContainerID, $(formFieldID).form, null, options);
}
}
}
You need to add that .form to $(formFieldID)
When I get to the office I, the world's dumbest user of Git, will submit a patch (hopefully).
This works, thank you very much! :)
Cheers
Michael
--
___________________________
Michael Schmiedgen, BSc
Senior Software Engineer
Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt GERMANY
Tel +49 361 6534096
Fax +49 361 6534097
Mail email@hidden
Web http://www.takwa.de/
___________________________
Amtsgericht Jena HRB 112964
Geschäftsführung: Ingo Buchholz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden