diff options
Diffstat (limited to 'did-controller.lua')
-rw-r--r-- | did-controller.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/did-controller.lua b/did-controller.lua index 3b61205..73cde12 100644 --- a/did-controller.lua +++ b/did-controller.lua @@ -23,9 +23,6 @@ end function searchdefinitionlist(self) self.clientdata.did = self.clientdata.q or self.clientdata.did local result = self.model.searchdefinitions(self, sessiondata.userinfo.userid, self.clientdata.did) - if self.clientdata.q then - self.conf.viewtype = "text" - end return result end @@ -82,7 +79,6 @@ function createdefinition(self) end function assigndefinition(self) - self.conf.viewtype = self.clientdata.viewtype or self.conf.viewtype return self.handle_form(self, function() return self.model.getdefinition(self, sessiondata.userinfo.userid, self.clientdata.did) end, function(self, value) return self.model.updatedefinition(self, sessiondata.userinfo.userid, value) end, self.clientdata, "Save", "Assign DID Number") end |