Client: 1. Fixed bugs in clear noteEditor(set currentDirId and
currentArticleId to -1)