Skip to content

Commit

Permalink
Fixed the active modal when theme has been applied
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhyder committed Dec 23, 2016
1 parent 2cc5c9e commit 67440d5
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,17 @@

$scope.onActionSuccess = function() {
$scope.actionIsComplete = true;
}
$('.progress-bar').removeClass('active');
};

$scope.onActionFailure = function(error) {
$scope.actionIsComplete = true;
$scope.actionError = error.message;
}
};

$scope.refreshPage = function() {
$window.location.reload();
}
};

$scope.saveSiteLogo = function() {
$http.post('/actions/admin/themes/site_logo', {site_logo: $scope.photoValue})
Expand All @@ -64,6 +65,6 @@
$scope.errorMessage = error.message;
$scope.saving = false;
});
}
};
});
</script>

0 comments on commit 67440d5

Please sign in to comment.