Gets notification msgs on the server side to be displayed. Fixes property existence checking... was checking on id before but that is incorrect, needs to be on alias since a new property id is gen'd on each save and we're not re-wiring them back up. Fixes YSOD messaging for content as well. Changes the ModelState to modelState to be consistent in js.

This commit is contained in:
Shannon
2013-07-22 18:16:50 +10:00
parent ae2ed17050
commit feb1892e9e
10 changed files with 97 additions and 57 deletions

View File

@@ -22,7 +22,7 @@ describe('contentEditingHelper tests', function () {
data: content,
status: 403
};
err.data.ModelState = {};
err.data.modelState = {};
//act
var handled = contentEditingHelper.handleSaveError(err, {content: content});