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

Commit

Permalink
Remove sweetalert on success
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCrankHank committed Nov 15, 2015
1 parent eb4a91a commit 70898e4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions public/js/pages/config/userConfigMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,7 @@ define(['jquery', 'sweetalert', 'mylibs'], function ($, swal, mylibs) {
type: 'post',
success: function (data) {
if (data['code'] === 0) {
swal({
title: 'Success',
type: 'success',
text: data['message']
}, function () {
return mylibs.load_workspace(url);
});
return mylibs.load_workspace(url);
} else {
swal({
title: 'Error',
Expand Down

0 comments on commit 70898e4

Please sign in to comment.