diff --git a/edivorce/apps/core/static/js/main.js b/edivorce/apps/core/static/js/main.js index 6fbfce20..170d8833 100755 --- a/edivorce/apps/core/static/js/main.js +++ b/edivorce/apps/core/static/js/main.js @@ -80,6 +80,7 @@ $(function () { }); $('body').on('click', 'a.save-spinner', function (e) { + var href = $('a.save-spinner').attr('href'); e.preventDefault(); $('div#progress-overlay').show(); $('div#progress-overlay-spinner').spin('large'); @@ -87,7 +88,8 @@ $(function () { setTimeout(function(){ $('div#progress-overlay').hide(); $('div#progress-overlay-spinner').spin(false); - }, 500); + window.location.href = href; + }, 1000); }); diff --git a/edivorce/apps/core/templates/base.html b/edivorce/apps/core/templates/base.html index 431c94e3..c0a9c233 100644 --- a/edivorce/apps/core/templates/base.html +++ b/edivorce/apps/core/templates/base.html @@ -100,7 +100,7 @@
{% endblock %}