add custom sync server option in Kosync plugin

This should fix #1619.
This commit is contained in:
chrox
2015-09-17 23:27:19 +08:00
parent f85da283a1
commit 9e91512f5f
3 changed files with 29 additions and 2 deletions

View File

@@ -99,6 +99,7 @@ function InputContainer:onInput(input)
local InputDialog = require("ui/widget/inputdialog")
self.input_dialog = InputDialog:new{
title = input.title or "",
input = input.input,
input_hint = input.hint_func and input.hint_func() or input.hint or "",
input_type = input.type or "number",
buttons = {