summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-03-29 23:39:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-03-29 23:39:40 +0000
commit36b1bbd9ff880b764e932d27075bc5a9edd41e47 (patch)
tree5644036dce23c32caf01e34ed9634a440a0eccb9 /applications/luci-asterisk/luasrc/view
parent0c7effc0c0c4248d0fd96b6fb289139c388a9fb7 (diff)
applications/luci-asterisk: rework voicemail management
Diffstat (limited to 'applications/luci-asterisk/luasrc/view')
-rw-r--r--applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm
index 3ffe6c5eec..47e6105071 100644
--- a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm
+++ b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm
@@ -160,7 +160,7 @@ $Id$
Add Dialzone:<br />
<select style="width:30%" name="addzone.<%=plan.name%>">
<option value="">-- please select --</option>
- <% for _, zone in pairs(ast.dialzone.zones()) do %>
+ <% for _, zone in luci.util.kspairs(ast.dialzone.zones()) do %>
<% if not zones_used[zone.name] then %>
<option value="<%=zone.name%>"><%=zone.name%> (<%=zone.description%>)</option>
<% end %>
@@ -171,7 +171,7 @@ $Id$
Add Voicemailbox:<br />
<select style="width:20%" name="addvbox.<%=plan.name%>" onchange="this.form['addvboxext.<%=plan.name%>'].value=this.options[this.selectedIndex].value.split('@')[0]">
<option value="">-- please select --</option>
- <% for ext, box in pairs(ast.voicemail.boxes()) do %>
+ <% for ext, box in luci.util.kspairs(ast.voicemail.boxes()) do %>
<% if not boxes_used[box.id] then %>
<option value="<%=box.id%>"><%=box.id%> (<%=box.name%>)</option>
<% end %>