Couple of minor fixes (#13185)
This commit is contained in:
1 parent
763264a102
commit
8606b132e4
5 files changed
+25
-26
No files matched your search
@@ -420,7 +420,9 @@ function ReaderAnnotation:addItem(item)
|
||||
end
|
||||
|
||||
function ReaderAnnotation:onAnnotationsModified(items)
|
||||
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
|
||||
if items.update_datetime ~= false then
|
||||
items[1].datetime_updated = os.date("%Y-%m-%d %H:%M:%S")
|
||||
end
|
||||
end
|
||||
|
||||
-- info
|
||||
|
||||
Reference in new issue
Block a user