if(this.srcNodeRef){// programatically created buttons might not define srcNodeRef//FIXME: figure out how to filter out the widget and use all remaining nodes as button// content, not just nodes[0]var nodes = dojo.query("*", this.srcNodeRef);
dijit.form.DropDownButton.superclass._fillContent.call(this, nodes[0]);
// save pointer to srcNode so we can grab the drop down widget after it's instantiatedthis.dropDownContainer = this.srcNodeRef;
}