[0005209] Reports: fixed broken reports after session timeout.
[fa-stable.git] / js / inserts.js
index 40337e7a94a68e7bc2df0c3fa0bfc02e36c289a2..d0722250769dcb4d3cb25be45586979d34f77f23 100644 (file)
@@ -314,7 +314,7 @@ var inserts = {
                e.onclick = function(){
                        if (validate(e)) {
                                setTimeout(function() { var asp = e.getAttribute('aspect');
-                                       if (asp && asp.indexOf('download') === -1)
+                                       if (asp && asp.indexOf('download') === -1 && asp.indexOf('popup') === -1)
                                                set_mark((asp && ((asp.indexOf('process') !== -1) || (asp.indexOf('nonajax') !== -1))) ? 'progressbar.gif' : 'ajax-loader.gif');
                                }, 100);
                                return true;