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;
ev.returnValue = false;
return false;
}
- if (editors!=='undefined' && editors[key]) {
+ if (editors!==undefined && editors[key]) {
callEditor(key);
return stopEv(ev); // prevent default binding
}