Submitted by mrandt on Thu, 06/26/2008 - 15:58.
UPDATE 2008-07-15
Created a bug report / ticket for this, see http://bugs.dojotoolkit.org/ticket/7185
---
Dojo version: Dojo 1.1.1
Component: dijit.form.Button
Browser: tested on FF3.0 and IE7.0
Button overwrites the attribute "title" if "showLabel" is set to false. I suppose this is a defect in method "postCreate".
Example:
var button = new dijit.form.Button(
{
title: "MyTitle",
iconClass: "myIconClass",
label: "MyLabel",
showLabel: false
}
);
This will render a button showing the title "MyLabel" rather than "MyTitle".