swal({title:js_dict["success-msg"],type:"success"}).then(function(status) { if(status) { $('').remove(); npa.bindEvents(); } });