Good morning everyone,
I am using WAB developer edition and customizing the Edit Widget directly on the source code Widget.js
Is there a way to rename the button "Close" to "Accept" or "Save" on the Attribute Inspector window?
The attribute inspector gets called in the Edit Widget.
Jose,
In your apps widgets\Edit\nls\strings.js file change close: "Close", to what ever you want.
Hi Robert,
This is what I did in the Widget.js source code. I changed the value for "label" from this.nls.close to "Accept"
/***************************************
* Methods for extra works
****************************************/
_addButtonToInspector: function () {
var closeButton = new Button({
//label: this.nls.close,
label: "Accept",
"class": " atiButton closeButton"
}, html.create("div"));
Jose,
OK that works too.