Hi, Are you quite certain of your diagnosis? I can't see why Prototype would make any difference here, it doesn't have anything specific to cfmessagebox. Are you sure nothing else changed at the same time you changed from 1.5.1.2 to 1.6?
If so, I'd suggest putting together a minimalist test case[1] showing it working with 1.5.1.2 and not with 1.6 and opening a bug report on Lighthouse[2]. [1] http://proto-scripty.wikidot.com/self-contained-test-page [2] https://prototype.lighthouseapp.com/projects/8886/home HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Mar 1, 5:42 pm, mrlife <[email protected]> wrote: > When used to confirm (button options: yes, no), cfmessagebox sends a > button value to a javascript callbackhandler. If the user clicked the > yes button, the callbackhandler can check if the button's value is > "yes". This is the behavior expected of cfmessagebox, and it works in > Prototype 1.5.1.2. If Prototype 1.6 is used instead, the button value > in the javascript callbackhandler is always the number 1, presumably > indicating that a button was clicked. Can cfmessagebox be used > correctly with Prototype 1.6? -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
