• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MooTools Observer: fullSubmit not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >MooTools Observer: fullSubmit not working (From: Michael Schmiedgen <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Johnny Miller <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Michael Schmiedgen <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Johnny Miller <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Michael Schmiedgen <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Johnny Miller <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Michael Schmiedgen <email@hidden>)
 >Re: MooTools Observer: fullSubmit not working (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: OT - Share our experience moving from WO
  • Next by Date: Re: invokeAction: (...) suboptimal performance: why/where/how to avoid
  • Previous by thread: Re: MooTools Observer: fullSubmit not working
  • Next by thread: ec.saveChanges() and date to update
  • Index(es):
    • Date
    • Thread