Robert,
The setting.html file is as follows:
And the setting.js is attached
You will see the seeting.js has dependencies on the ./SourceSetting which is a modified version of the search widget’s QuerySourceSetting.js and html and ./utils which is a copy of the original.
The problem raises when I click on an element not managed directly with the code. The cancel button and the top-right X perfectly close and destroy the setting panel. But the OK Button apparently has lost its functionality. It is suppose the OK button raises the getConfig method and close the panel, then I created a demo widget to check if the button works correctly and it did.
[cid:image002.jpg@01D37039.6FC20770]
The widget captures the information correctly and for testing purposes, I forced the getConfig method to work seeing it retrieves the data well.
Maybe I need to catch the event associated with the ok and force the panel to close and call the getConfig.
Thank you