Index: trunk/kernel/admin_templates/incs/toolbar.js =================================================================== diff -u -r5296 -r6093 --- trunk/kernel/admin_templates/incs/toolbar.js (.../toolbar.js) (revision 5296) +++ trunk/kernel/admin_templates/incs/toolbar.js (.../toolbar.js) (revision 6093) @@ -38,7 +38,7 @@ ToolBarButton.prototype.IconsPath = function() { if (typeof(img_path) == 'undefined') { - alert('error: toolbar image path not set'); + //alert('error: toolbar image path not set'); } return img_path.replace('#MODULE#', this.Module) + 'toolbar/'; } @@ -52,7 +52,7 @@ } ToolBarButton.prototype.Init = function() { - + img = document.getElementById(this.GetToolID()); this.imgObject = img; img.btn = this; @@ -182,7 +182,7 @@ btn = this.Buttons[i]; $container.innerHTML += btn.GetHTML(); } - + // init all buttons after because objects are not yet created directly after assigning to innerHTML for (var i in this.Buttons) { btn = this.Buttons[i];