Index: branches/RC/core/admin_templates/js/toolbar.js =================================================================== diff -u -r11317 -r11368 --- branches/RC/core/admin_templates/js/toolbar.js (.../toolbar.js) (revision 11317) +++ branches/RC/core/admin_templates/js/toolbar.js (.../toolbar.js) (revision 11368) @@ -34,6 +34,7 @@ this.Hidden = $hidden ? true : false; this.ToolBar = null; this.Prefix = prefix ? prefix : ''; + this.Separator = false; } ToolBarButton.prototype.CheckTitleModule = function() @@ -233,6 +234,7 @@ function ToolBarSeparator(title) //extends ToolBarButton { this.Title = title; + this.Separator = true; } ToolBarSeparator.prototype = new ToolBarButton; @@ -292,6 +294,9 @@ ToolBar.prototype.Render = function($container) { + // remove duplicate separators or separators at the end of button list + //this._removeSeparators(); + if ($container) { var tmp = ''; for (var i in this.Buttons) {