You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Window is refreshed and a different content is loaded through its refresh method, the new url is not set to the widget's content option. As a result, if the Window is refreshed through its built-in refresh button, the url set initially to the content option is used.
Run the following Dojo - the window loads dojo site.
Close the window.
Click on Open Window button - the window loads wikipedia site
Click on Window's Refresh button
Current behavior
As the refresh() method does not set the content option of the window to wikipedia, the content is refreshed to the initial content - dojo site.
Expected/desired behavior
The refresh() method sets the content option to the url passed to it.
As explained in Window's setOptions notes, changing content url and then calling refresh method is alternative to directly executing the refresh method with the new url.
Environment
Kendo UI version: 2019.3.1023
Browser: all
The text was updated successfully, but these errors were encountered:
Bug report
When the Window is refreshed and a different content is loaded through its refresh method, the new url is not set to the widget's content option. As a result, if the Window is refreshed through its built-in refresh button, the url set initially to the content option is used.
Reproduction of the problem
Screencast
Current behavior
As the refresh() method does not set the content option of the window to wikipedia, the content is refreshed to the initial content - dojo site.
Expected/desired behavior
The refresh() method sets the content option to the url passed to it.
As explained in Window's setOptions notes, changing content url and then calling refresh method is alternative to directly executing the refresh method with the new url.
Environment
The text was updated successfully, but these errors were encountered: