Example:
$button = $this->app->add('Button')->set('click me');
$button->on('click', $button->js()->atkReloadView(
['uri' => $button->url(), 'uri_options' => ['move' => 'next']]
));
How to reproduce?
- navigate to URL:
https://xxx/yyy.php?crud_model=AppAtk4%5CModel
- click the button and notice, that the new URL of that request is URL encoded twice
Currently this URL is requested:
https://xxx/yyy.php?crud_model=AppAtk4%255CModel
vs. (expected)
https://xxx/yyy.php?crud_model=AppAtk4%5CModel
Btw: where is the atkReloadView JS method defined? It seems that there is only atkjs-ui.min.js.