Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions app/code/Magento/Ui/view/base/web/js/form/adapter/buttons.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2018 Adobe
* All Rights Reserved.
*/

/**
Expand All @@ -10,7 +10,7 @@ define(function () {
'use strict';

return {
'reset': '#reset_ui_form',
'reset': '#reset',
'save': '#save',
'saveAndContinue': '#save_and_continue'
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2024 Adobe
* All Rights Reserved.
*/

/*eslint max-nested-callbacks: 0*/
Expand All @@ -16,7 +16,7 @@ define(['Magento_Ui/js/form/adapter/buttons'], function (uiFormSelectors) {
expect(uiFormSelectors.saveAndContinue).toBeDefined();

// Verify that each selector matches the expected value
expect(uiFormSelectors.reset).toBe('#reset_ui_form');
expect(uiFormSelectors.reset).toBe('#reset');
expect(uiFormSelectors.save).toBe('#save');
expect(uiFormSelectors.saveAndContinue).toBe('#save_and_continue');
});
Expand Down