Skip to content

Commit d58096f

Browse files
MAGETWO-71407: Update the reset button of UrlRewrite block to not cause JS errors #10462
2 parents 6409a14 + 803e507 commit d58096f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/UrlRewrite/Block

1 file changed

+1
-1
lines changed

app/code/Magento/UrlRewrite/Block/Edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected function _addResetButton()
118118
'reset',
119119
[
120120
'label' => __('Reset'),
121-
'onclick' => '$(\'edit_form\').reset()',
121+
'onclick' => 'location.reload();',
122122
'class' => 'scalable',
123123
'level' => -1
124124
]

0 commit comments

Comments
 (0)