new Ajax.Request('backend.php', {
parameters: dojo.objectToQuery(this.getValues()),
- onSuccess: function(transport) {
+ onSuccess: function(transport) {
notify_info(transport.responseJSON.message);
$('postReplyUrl').writeAttribute(
'href', transport.responseJSON.location
//Effect.Grow('postReplySuccess');
$('postReply').hide();
$('postReplySuccess').show();
- },
+ },
onFailure: function(transport) {
notify_error(transport.responseText);
}