test: fix readerui instance reset test

This commit is contained in:
Qingping Hou committed 2016-02-17 00:06:55 -08:00
1 parent 72e7cd5cf4
commit 03e81cfa4d
2 files changed
+9 -2

No files matched your search

+4
View File
@@ -390,6 +390,10 @@ function ReaderUI:doShowReader(file)
running_instance = reader
end
function ReaderUI:_getRunningInstance()
return running_instance
end
function ReaderUI:unlockDocumentWithPassword(document, try_again)
DEBUG("show input password dialog")
self.password_dialog = InputDialog:new{