X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Finserts.js;h=17b71143b60187ac01455c2be1c0031b1f69d255;hb=865874e288d822a4a7ba07ec7a16813a37786dc7;hp=7da839936feac7c052de375bedc39557edf51e39;hpb=550efc38d739a75612350ac3efc4fdfade630317;p=fa-stable.git diff --git a/js/inserts.js b/js/inserts.js index 7da83993..17b71143 100644 --- a/js/inserts.js +++ b/js/inserts.js @@ -139,8 +139,6 @@ function _set_combo_select(e) { e.setAttribute('_last', e.selectedIndex); e.onblur = function() { var box = document.getElementsByName(this.getAttribute('rel'))[0]; -// if(string_contains(this.className, 'combo')) -// _update_box(this); if ((this.selectedIndex != this.getAttribute('_last')) ||((string_contains(this.className, 'combo') || string_contains(this.className, 'combo3')) && _update_box(this)) ) @@ -316,7 +314,8 @@ var inserts = { 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; } @@ -469,11 +468,9 @@ var inserts = { var ulist=ul.getElementsByTagName("li"); for (var x=0; x