diff --git a/src/ui/index.tis b/src/ui/index.tis index b1b23475a..d44266b65 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -189,7 +189,7 @@ class MyIdMenu: Reactor.Component { var old_value = handler.get_option("whitelist").split(",").join("\n"); msgbox("custom-whitelist", translate("IP Whitelisting"), "
\
" + translate("whitelist_sep") + "
\ - \ + \
\ ", function(res=null) { if (!res) return; diff --git a/src/ui/msgbox.tis b/src/ui/msgbox.tis index 77d15ea33..1da5700b0 100644 --- a/src/ui/msgbox.tis +++ b/src/ui/msgbox.tis @@ -42,7 +42,7 @@ class MsgboxComponent: Reactor.Component { if (this.type.indexOf("error") >= 0 || this.type == "re-input-password") { return ; } - return ; + return null; } function getInputPasswordContent() {