From cec69e828dec2ce30a1f2cb4721c40d91c1a75b8 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 4 Nov 2010 08:09:49 +0000 Subject: Added getdevicevalues with templated viewtype to load template with haserl. --- provisioning-controller.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'provisioning-controller.lua') diff --git a/provisioning-controller.lua b/provisioning-controller.lua index 31a1c43..6da9884 100644 --- a/provisioning-controller.lua +++ b/provisioning-controller.lua @@ -93,5 +93,8 @@ overridedeviceparams = function( self ) end getdevicevalues = function( self ) + if self.clientdata.viewtype then + self.conf.viewtype = self.clientdata.viewtype + end return self.model.get_device_values(self.clientdata.name) end -- cgit v1.2.3