Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,13 @@ protected function _prepareLayout()
);
}

$message = __("Warning: removing an attribute from the set result in the loss of that attribute data in the set. This is without making a backup first not recoverable");
$this->getToolbar()->addChild(
'save_button',
\Magento\Backend\Block\Widget\Button::class,
[
'label' => __('Save'),
'onclick' => 'editSet.save();',
'onclick' => "if ( true == confirm('{$message}')) { editSet.save();}",
'class' => 'save primary save-attribute-set'
]
);
Expand Down