Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hzwy23 committed Jun 29, 2017
1 parent c0396ab commit eabb8f9
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions static/js/utils.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -2241,13 +2241,11 @@ var Hutils = {
executing:function (obj) {
var m = $(obj).find(".modal-content")[0];
var spinnner = $.Hspinner(m);
setTimeout(function () {
$(spinnner).delay("fast").queue(function () {
__DEFAULT.callback(obj);
spinnner.spin();
setTimeout(function () {
$(spinnner.modal).remove();
},10);
},10);
$(spinnner.modal).remove();
})
},

footerBtnStatus:true,
Expand Down Expand Up @@ -2480,13 +2478,11 @@ var Hutils = {
headerFontColor:"#0c0c0c",
executing:function () {
var spinnner = $.Hspinner();
setTimeout(function () {
$(spinnner).delay("fast").queue(function () {
__DEFAULT.callback();
spinnner.spin();
setTimeout(function () {
$(spinnner.modal).remove();
},10);
},10);
$(spinnner.modal).remove();
})
},
body:"",
footer:"",
Expand Down Expand Up @@ -2623,8 +2619,9 @@ var Hutils = {
$(hmode).remove();
})
$(getObj(getObj(hmode,"modal-footer"),"submit","button")).on("click",function(){
$(hmode).remove();
__DEFAULT.executing(hmode);
$(hmode).remove().queue(function () {
__DEFAULT.executing(hmode);
});
})
}
}
Expand Down

0 comments on commit eabb8f9

Please sign in to comment.