• 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: questions on some moo tools components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: questions on some moo tools components


  • Subject: Re: questions on some moo tools components
  • From: Johnny Miller <email@hidden>
  • Date: Tue, 29 May 2012 10:14:06 -1000

Hi Tim,

I'm battling the flu right now.  So I'm about ready to go crashing into my keyboard but I believe....

it's in MTWonder.js file:

var MTAjaxInPlace = {

saveFunctionName: function(id) {
return "window." + id + "Save";
},


cancelFunctionName: function(id) {
return "window." + id + "Cancel";
},


editFunctionName: function(id) {
return "window." + id + "Edit";
},


cleanupEdit: function(id) {
var saveFunctionName = this.saveFunctionName(id);
var cancelFunctionName = this.cancelFunctionName(id);
if (typeof eval(saveFunctionName) != 'undefined') { eval(saveFunctionName + " = null"); }
if (typeof eval(cancelFunctionName) != 'undefined') { eval(cancelFunctionName + " = null"); }
},


cleanupView: function(id) {
var editFunctionName = this.editFunctionName(id);
if (typeof eval(editFunctionName) != 'undefined') { eval(editFunctionName + " = null"); }
}

};

Check your declaration for MTAjaxInPlace that it's id is fancy:

FancyInPlace : MTAjaxInPlace {
formClass = "well";
id = "fancy";
manualEditControl = true;
}


HTH,

Johnny Miller
Kahalawai Media Corp.
www.kahalawai.com


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
  • Follow-Ups:
    • Re: questions on some moo tools components
      • From: Tim Worman <email@hidden>
References: 
 >questions on some moo tools components (From: Tim Worman <email@hidden>)

  • Prev by Date: questions on some moo tools components
  • Next by Date: Re: questions on some moo tools components
  • Previous by thread: questions on some moo tools components
  • Next by thread: Re: questions on some moo tools components
  • Index(es):
    • Date
    • Thread