Index: branches/unlabeled/unlabeled-1.3.2/core/admin_templates/js/toolbar.js =================================================================== diff -u -r6787 -r7014 --- branches/unlabeled/unlabeled-1.3.2/core/admin_templates/js/toolbar.js (.../toolbar.js) (revision 6787) +++ branches/unlabeled/unlabeled-1.3.2/core/admin_templates/js/toolbar.js (.../toolbar.js) (revision 7014) @@ -163,7 +163,24 @@ /* ----------- */ +function ToolBarMarkup(title, html) //extends ToolBarButton +{ + this.Title = title; + this.HTML = html; +} +ToolBarMarkup.prototype = new ToolBarButton; + +ToolBarMarkup.prototype.GetHTML = function() { + return this.HTML; +} + +ToolBarMarkup.prototype.Init = function() { } +ToolBarMarkup.prototype.Enable = function() { } +ToolBarMarkup.prototype.Disable = function() { } + +/* ----------- */ + function ToolBar(icon_prefix, $module) { this.Module = $module ? $module : 'core';