diff options
Diffstat (limited to 'tinydns-controller.lua')
-rw-r--r-- | tinydns-controller.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tinydns-controller.lua b/tinydns-controller.lua index a617cf0..640fbe7 100644 --- a/tinydns-controller.lua +++ b/tinydns-controller.lua @@ -84,8 +84,6 @@ local function displaycmdmanagement(pidofstatus) -- next CFE can be used to present the result of the previous action management.actionresult = cfe({ name="actionresult", label="Previous action result", - descr="", --Content of this variable is displayed as <PRE> ... </PRE> in BLACK text - errtxt="", --Content of this variable is displayed as <PRE> ... </PRE> in RED text }) -- Disable management buttons based on if the process is running or not @@ -263,7 +261,7 @@ function expert(self) else create.name.errtxt = "Incorrect filename" end - if (#create.name.errtxt == 0) then + if (create.name.errtxt) then create.cmdnew.descr = "* File was created" redirect(self, "edit?name=" .. (self.clientdata.name or "")) end |