Show actual result on applyChanges(). Remove generated assets files

This commit is contained in:
Khanh Ngo
2019-12-11 13:45:27 +07:00
parent 67e6df6880
commit 798b7abb5b
9 changed files with 15 additions and 7239 deletions

View File

@ -9,10 +9,15 @@ function applyChanges(data, url, showResult, refreshPage) {
crossDomain : true,
dataType : "json",
success : function(data, status, jqXHR) {
console.log("Applied changes successfully.")
console.log("Applied changes successfully.");
console.log(data);
if (showResult) {
var modal = $("#modal_success");
modal.find('.modal-body p').text("Applied changes successfully");
if (data['msg']) {
modal.find('.modal-body p').text(data['msg']);
} else {
modal.find('.modal-body p').text("Applied changes successfully");
}
modal.modal('show');
}
if (refreshPage) {