Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit caaa1f1

Browse files
MAGETWO-80192: [2.2.x] - Update the reset button of UrlRewrite block to not cause JS errors #10462
1 parent 29bc9ad commit caaa1f1

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)