atutor/ATutor — pull request #56 by geetakshi (2013-03-20 21:04:10+00:00)
Title: ISSUE-4144: Printing the error message when user tries to preview the pa...

...ge before saving, created while adding a new content.

When a user adds a new content page via mods/_core/editor/edit_content.php and tries to preview it before saving, an error should be generated. But at present, when we do so no error is printed and after that any other action leads to printing an error which says "Required field missing". Through this change, I have fixed this issue which leads to printing of error whenever page is not saved and "preview" action is applied.