applications/luci-asterisk: fix voicemail storage option, don't load tzdata in mailbo...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 30 Mar 2009 17:01:05 +0000 (17:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 30 Mar 2009 17:01:05 +0000 (17:01 +0000)
applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua
applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua

index efd6a29167b655f24b217a6ca9270eab3df65c77..1c92d0dbfebdf5046a9af0dd9d08f178910400f3 100644 (file)
@@ -12,9 +12,6 @@ You may obtain a copy of the License at
 $Id$
 ]]--
 
-require "luci.sys.zoneinfo"
-
-
 cbimap = Map("asterisk", "Voicemail - Mailboxes")
 
 voicemail = cbimap:section(TypedSection, "voicemail", "Voicemail Boxes")
index 8ad3ee1e5154fe1f62c5ab581f2033850b408b23..cad2adb95ff250392cabfdcb8ddb7232c7bb20c9 100644 (file)
@@ -25,7 +25,8 @@ voicegeneral = cbimap:section(TypedSection, "voicegeneral",
 voicegeneral.anonymous = true
 voicegeneral.addremove = false
 
-format = voicegeneral:option(ListValue, "Storage format")
+format = voicegeneral:option(MultiValue, "Used storage formats")
+format.widget = "checkbox"
 format:value("wav49")
 format:value("gsm")
 format:value("wav")