When I change my js reference from 3.9 to 3.10 I get an error in my code that creates a print button in the attributeInspector. Does anybody know what the new syntax change should be or where to look? I think its in the new dojo dijt but I am not sure. I get an error of :
"JavaScript runtime error: Unable to get property 'editButtons' of undefined or null reference"
var printButton = new Button({
label: "Print", onClick: function () {
var workIDtoPrint = myEditor.attributeInspector.layerInfos[0].fieldInfos[0].dijit.value
print(workIDtoPrint)
}
}, domConstruct.create("div", null, myEditor.attributeInspector.editButtons, "first"));
domClass.add(printButton.domNode, "atiMyButton");