X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Finserts.js;h=0c40deb8e8f5c51b091293a2fce6c8b757773b07;hb=ad18b139db8bf7550225bb670bc83c920a97c8a3;hp=40337e7a94a68e7bc2df0c3fa0bfc02e36c289a2;hpb=ead8970cab93706f8ffdd430236e81b61af31baa;p=fa-stable.git diff --git a/js/inserts.js b/js/inserts.js index 40337e7a..0c40deb8 100644 --- a/js/inserts.js +++ b/js/inserts.js @@ -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; @@ -580,7 +580,7 @@ function setHotKeys() { ev.returnValue = false; return false; } - if (editors!=='undefined' && editors[key]) { + if (editors!==undefined && editors[key]) { callEditor(key); return stopEv(ev); // prevent default binding }