Fix for issue 3657 (Control Panel: problem with "Save" button in "Manage Entries" panel)
Disable the save button after we detect that there are no changes to do on the entry.
| | |
| | | saveChanges.setEnabled(false); |
| | | dlg.setVisible(true); |
| | | } |
| | | else if (errors.size() == 0) |
| | | { |
| | | // Mark the panel as it has no changes. This can happen because every |
| | | // time the user types something the saveChanges button is enabled |
| | | // (for performance reasons with huge entries). |
| | | saveChanges.setEnabled(false); |
| | | } |
| | | } |
| | | catch (OpenDsException ode) |
| | | { |