more changes related to fix to #405

This commit is contained in:
gorhill 2014-12-15 11:02:50 -05:00
parent 084a1ef8d0
commit 49d77eab05
1 changed files with 2 additions and 2 deletions

View File

@ -58,6 +58,7 @@ var renderWhitelist = function() {
uDom('#whitelist').val(cachedWhitelist); uDom('#whitelist').val(cachedWhitelist);
}; };
messager.send({ what: 'getWhitelist' }, onRead); messager.send({ what: 'getWhitelist' }, onRead);
whitelistChanged();
}; };
/******************************************************************************/ /******************************************************************************/
@ -116,8 +117,7 @@ var whitelistApplyHandler = function() {
what: 'setWhitelist', what: 'setWhitelist',
whitelist: cachedWhitelist whitelist: cachedWhitelist
}; };
messager.send(request); messager.send(request, renderWhitelist);
whitelistChanged();
}; };
/******************************************************************************/ /******************************************************************************/