mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Correct order of Save and Cancel button for json/jsonb editing. Fixes #3891
This commit is contained in:
committed by
Akshay Joshi
parent
06ae799d02
commit
27cdb835cb
@@ -307,8 +307,8 @@
|
||||
$input = getTextArea().appendTo($wrapper);
|
||||
$buttons = getButtons(true).appendTo($wrapper);
|
||||
|
||||
$buttons.find('button:first').on('click', this.save);
|
||||
$buttons.find('button:last').on('click', this.cancel);
|
||||
$buttons.find('button:first').on('click', this.cancel);
|
||||
$buttons.find('button:last').on('click', this.save);
|
||||
$input.on('keydown', this.handleKeyDown);
|
||||
|
||||
scope.position(args.position);
|
||||
|
||||
Reference in New Issue
Block a user