/*\r
- * This file is part of NixNote \r
+ * This file is part of NixNote/NeighborNote \r
* Copyright 2009 Randy Baumgarte\r
* \r
* This file may be licensed under the terms of of the\r
return false;\r
}\r
// Save Note Tags\r
- public void saveNoteTag(String noteGuid, String tagGuid) {\r
+ public void saveNoteTag(String noteGuid, String tagGuid, boolean isDirty) {\r
boolean check;\r
NSqlQuery query = new NSqlQuery(db.getConnection());\r
\r
logger.log(logger.MEDIUM, "NoteTags Table insert failed."); \r
logger.log(logger.MEDIUM, query.lastError());\r
}\r
- check = query.prepare("Update Note set isDirty=true where guid=:guid");\r
+ check = query.prepare("Update Note set isDirty=:isDirty where guid=:guid");\r
if (!check)\r
logger.log(logger.EXTREME, "RNoteTagsTable.saveNoteTag prepare has failed.");\r
+ query.bindValue(":isDirty", isDirty);\r
query.bindValue(":guid", noteGuid);\r
query.exec();\r
if (!check) {\r