Scenario:
My local dev environment is a single mongrel server, no apache proxy.
My testing/production environment is a mongrel cluster serverd by an
apache front-end.
I do an Ajax.Request that looks like the following:
function saveNote(editor_id) {
WYSIWYG.updateTextArea(editor_id);
if ($(editor_id).value.length == 0) {
return;
}
var note_data = $('note_form').serialize(true);
new Ajax.Request('/note/save',
{
method: 'post',
parameters: note_data,
onSuccess: function(transport) {
$('note_id').value = transport.responseText;
},
onFailure: function(transport) {
alert('FIX, display an error...');
}
});
}
This works as expected in my dev environment and when I view the
request via firebug, I see the post data. Great.
When I do this in my test/production environment, there is no post
data. Completely missing.
Is there some setting in Apache that could be causing this or some
param I need to pass into options to make apache happy? I tried
changing parameters to postBody but that didn't help.
Thanks,
Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---