Index: trunk/kernel/admin_templates/incs/toolbar.js =================================================================== diff -u -r5060 -r5296 --- trunk/kernel/admin_templates/incs/toolbar.js (.../toolbar.js) (revision 5060) +++ trunk/kernel/admin_templates/incs/toolbar.js (.../toolbar.js) (revision 5296) @@ -37,7 +37,7 @@ ToolBarButton.prototype.IconsPath = function() { - if (!img_path) { + if (typeof(img_path) == 'undefined') { alert('error: toolbar image path not set'); } return img_path.replace('#MODULE#', this.Module) + 'toolbar/';