Fixed DNSSEC popup not updating after clicking on an enabled zone.

This commit is contained in:
Ivan Filippov 2016-04-29 11:19:29 -06:00
parent 3ed4f2ab9f
commit 211bcf168a

View File

@ -121,7 +121,6 @@ function getdnssec(url){
if (data['status'] == 'error'){ if (data['status'] == 'error'){
modal.find('.modal-body p').text(data['msg']); modal.find('.modal-body p').text(data['msg']);
} }
else { else {
dnssec_msg = ''; dnssec_msg = '';
@ -144,8 +143,7 @@ function getdnssec(url){
dnssec_msg += '</form>'; dnssec_msg += '</form>';
} }
} }
modal.find('.modal-body p').replaceWith(dnssec_msg); modal.find('.modal-body p').html(dnssec_msg);
} }
modal.modal('show'); modal.modal('show');
}); });