mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
vocabbuilder main: fix SortWidget method name (#13495)
This commit is contained in:
@@ -384,7 +384,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess)
|
||||
item.callback()
|
||||
end
|
||||
end
|
||||
self.show_parent:goToPage(self.show_parent.show_page)
|
||||
self.show_parent:onGoToPage(self.show_parent.show_page)
|
||||
end
|
||||
}
|
||||
local select_all_button = {
|
||||
@@ -396,7 +396,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess)
|
||||
item.callback()
|
||||
end
|
||||
end
|
||||
self.show_parent:goToPage(self.show_parent.show_page)
|
||||
self.show_parent:onGoToPage(self.show_parent.show_page)
|
||||
end
|
||||
}
|
||||
local select_page_all_button = {
|
||||
@@ -408,7 +408,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess)
|
||||
content.item.callback()
|
||||
end
|
||||
end
|
||||
self.show_parent:goToPage(self.show_parent.show_page)
|
||||
self.show_parent:onGoToPage(self.show_parent.show_page)
|
||||
end
|
||||
}
|
||||
local deselect_page_all_button = {
|
||||
@@ -420,7 +420,7 @@ function MenuDialog:setupBookMenu(sort_item, onSuccess)
|
||||
content.item.callback()
|
||||
end
|
||||
end
|
||||
self.show_parent:goToPage(self.show_parent.show_page)
|
||||
self.show_parent:onGoToPage(self.show_parent.show_page)
|
||||
end
|
||||
}
|
||||
local buttons = ButtonTable:new{
|
||||
@@ -1220,7 +1220,7 @@ function VocabItemWidget:onShowBookAssignment(title_changed_cb)
|
||||
self.show_parent:showChangeBookTitleDialog(sort_item, onSuccess)
|
||||
end
|
||||
})
|
||||
sort_widget:goToPage(sort_widget.show_page)
|
||||
sort_widget:onGoToPage(sort_widget.show_page)
|
||||
else
|
||||
UIManager:show(require("ui/widget/notification"):new{
|
||||
text = _("Book title already in use."),
|
||||
|
||||
Reference in New Issue
Block a user