Skip to content

Commit

Permalink
Update edit-task.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadarif03 committed Jan 6, 2025
1 parent e31e5d4 commit 4244078
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,12 @@ function setValue(data) {
type: 'PUT',
data: formData,
success: function(response) {
Swal.fire({
title: "Success",
text: response.meta.title,
text: response.meta.message,
icon: "success"
}).then(function() {
// window.location.href = "/admin/modules/";
window.location.href = `/admin/modules/${response.data}`;
});
},
error: function(error) {
Expand Down

0 comments on commit 4244078

Please sign in to comment.