scriptaculousのinPlaceEditorを久々に使った。
そのときにonFailureの使い方がAjax.Requestとは違ったので、メモ。
2つ目の引数に、ajaxResponseのオブジェクトが来る。
new Ajax.inPlaceEditor(
...
{
...,
onFailure: function(ipe, httpObj){
alert(httpObj.responseText);
},
}
);
