Skip to content
This repository was archived by the owner on Apr 20, 2020. It is now read-only.

Commit 70898e4

Browse files
author
MrCrankHank
committed
Remove sweetalert on success
1 parent eb4a91a commit 70898e4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

public/js/pages/config/userConfigMenu.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,7 @@ define(['jquery', 'sweetalert', 'mylibs'], function ($, swal, mylibs) {
156156
type: 'post',
157157
success: function (data) {
158158
if (data['code'] === 0) {
159-
swal({
160-
title: 'Success',
161-
type: 'success',
162-
text: data['message']
163-
}, function () {
164-
return mylibs.load_workspace(url);
165-
});
159+
return mylibs.load_workspace(url);
166160
} else {
167161
swal({
168162
title: 'Error',

0 commit comments

Comments
 (0)