projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rerun /reporting/includes/report_classes.inc
[fa-stable.git]
/
js
/
inserts.js
diff --git
a/js/inserts.js
b/js/inserts.js
index ccc8024c2d2ca1158dfdfb620c9bb02b18c7ae63..773fc8f4f7f1b8b8a37c82e20bbe1938cef19602 100644
(file)
--- a/
js/inserts.js
+++ b/
js/inserts.js
@@
-314,10
+314,12
@@
var inserts = {
e.onclick = function(){
if (validate(e)) {
setTimeout(function() { var asp = e.getAttribute('aspect');
e.onclick = function(){
if (validate(e)) {
setTimeout(function() { var asp = e.getAttribute('aspect');
- set_mark((asp && ((asp.indexOf('process') !== -1) || (asp.indexOf('nonajax') !== -1))) ? 'progressbar.gif' : 'ajax-loader.gif');
+ if (asp && asp.indexOf('download') === -1)
+ set_mark((asp && ((asp.indexOf('process') !== -1) || (asp.indexOf('nonajax') !== -1))) ? 'progressbar.gif' : 'ajax-loader.gif');
}, 100);
return true;
}
}, 100);
return true;
}
+ return false;
},
e.onkeydown = function(ev) { // block unintentional page escape with 'history back' key pressed on buttons
ev = ev||window.event;
},
e.onkeydown = function(ev) { // block unintentional page escape with 'history back' key pressed on buttons
ev = ev||window.event;