From 8b3520a06366287459838f980e07c774696f26d4 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Fri, 26 Mar 2010 14:08:58 -0400 Subject: [PATCH] Shout: Fix refreshing the dialpad between menus --- shout/templates/dialplan/edit.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/shout/templates/dialplan/edit.inc b/shout/templates/dialplan/edit.inc index b45e0d036..7ba9c99e8 100644 --- a/shout/templates/dialplan/edit.inc +++ b/shout/templates/dialplan/edit.inc @@ -306,6 +306,15 @@ function refreshMenu() return false; } + $A(['1','2','3','4','5','6','7','8','9','0','*','#']).each(function (digit){ + empty('digit_' + digit); + var span = document.createElement('span'); + span.className = 'digitLabel'; + var text = document.createTextNode(digit); + span.appendChild(text); + $('digit_' + digit).appendChild(span); + }) + var text = document.createTextNode(menuInfo.get(curmenu).description); empty('menu.description'); $('menu.description').appendChild(text); -- 2.11.0