mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
17.36.2008 e15ba50e9768c4498e35efcc55641403d43d57bb
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.
1 files modified
7 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/controlpanel/ui/LDAPEntryPanel.java 7 ●●●●● patch | view | raw | blame | history
opends/src/guitools/org/opends/guitools/controlpanel/ui/LDAPEntryPanel.java
@@ -579,6 +579,13 @@
        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)
    {