From: Ben Klang Date: Fri, 26 Mar 2010 18:08:58 +0000 (-0400) Subject: Shout: Fix refreshing the dialpad between menus X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8b3520a06366287459838f980e07c774696f26d4;p=horde.git Shout: Fix refreshing the dialpad between menus --- 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);