Skip to content

Commit a8fa460

Browse files
committed
Update the reset button of UrlRewrite block to not cause JS errors
1 parent 354fc11 commit a8fa460

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)