use handleRestFailure instead of handleFailure

This commit is contained in:
Sebastian Sdorra
2012-03-13 21:10:30 +01:00
parent de77ae61e4
commit 3d8b201799

View File

@@ -148,8 +148,8 @@ Sonia.repository.FormPanel = Ext.extend(Sonia.rest.FormPanel,{
this.fireEvent('creationFailed', item);
clearTimeout(tid);
el.unmask();
main.handleFailure(
result.status,
main.handleRestFailure(
result,
this.errorTitleText,
this.createErrorMsgText
);