Skip to content

Commit a56b63b

Browse files
committed
fix export button js
1 parent 2159318 commit a56b63b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Block/Adminhtml/Block/Edit/ExportButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function getButtonData(): array
3232

3333
return [
3434
"label" => __("Export"),
35-
"on_click" => "location.href = '{$this->getExportUrl($blockId)}';",
35+
'on_click' => "location.href = '{$this->getExportUrl($blockId)}';",
3636
"class" => "secondary",
3737
"sort_order" => 90,
3838
];

Block/Adminhtml/Page/Edit/ExportButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function getButtonData(): array
3232

3333
return [
3434
"label" => __("Export"),
35-
"on_click" => "location.href = '{$this->getExportUrl($pageId)};",
35+
'on_click' => "location.href = '{$this->getExportUrl($pageId)}';",
3636
"class" => "secondary",
3737
"sort_order" => 90,
3838
];

0 commit comments

Comments
 (0)