Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window refresh method does not set options.content #3593

Closed
IvanDanchev opened this issue Sep 18, 2017 · 0 comments
Closed

Window refresh method does not set options.content #3593

IvanDanchev opened this issue Sep 18, 2017 · 0 comments
Assignees
Labels
Bug C: Window FP: Completed Sync status with associated Feedback Item jQuery SEV: Medium
Milestone

Comments

@IvanDanchev
Copy link
Contributor

IvanDanchev commented Sep 18, 2017

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

  1. Run the following Dojo - the window loads dojo site.
  2. Close the window.
  3. Click on Open Window button - the window loads wikipedia site
  4. 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
@Juveniel Juveniel self-assigned this Jan 22, 2021
@kendo-bot kendo-bot added FP: Planned Sync status with associated Feedback Item FP: In Development Sync status with associated Feedback Item and removed FP: Planned Sync status with associated Feedback Item labels Jan 22, 2021
@mparvanov mparvanov added this to the 2021.R1.SP.next milestone Jan 27, 2021
@kendo-bot kendo-bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Window FP: Completed Sync status with associated Feedback Item jQuery SEV: Medium
Projects
None yet
Development

No branches or pull requests

5 participants