},
{
tag : 'span',
- cls : 'roo-alert-content',
+ cls : 'roo-alert-text',
html : this.html
}
]
initEvents: function()
{
-
+ this.el.setVisibilityMode(Roo.Element.DISPLAY);
+ },
+
+ setTitle : function(str)
+ {
+ this.el.select('.roo-alert-title',true).first().dom.innerHTML = str;
},
setText : function(str)
{
- this.el.select('.roo-button-text',true).first().dom.innerHTML = str;
+ this.el.select('.roo-alert-text',true).first().dom.innerHTML = str;
},
hide: function()