diff --git a/whapps/voip/blacklist/blacklist.js b/whapps/voip/blacklist/blacklist.js index eb703cfd..c7bf53d8 100644 --- a/whapps/voip/blacklist/blacklist.js +++ b/whapps/voip/blacklist/blacklist.js @@ -192,11 +192,11 @@ winkstart.module('voip', 'blacklist', { $('.saved-numbers .number-wrapper', template).each(function(k, wrapper) { delete data.numbers; - var number = $(wrapper).data('number'); - + var number = $(wrapper).attr('data-number'); mapNumbers[number] = {}; }); + cleanData.numbers = mapNumbers; var normalizedData = THIS.normalize_data($.extend(true, {}, data, cleanData));