]> git.ipfire.org Git - ipfire-2.x.git/commit - html/cgi-bin/dhcp.cgi
dhcp: Enter edit mode after adding a static lease from list
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Jun 2015 13:56:46 +0000 (15:56 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 1 Jun 2015 13:56:46 +0000 (15:56 +0200)
commit91fc30309fcc929ae3b4b88f6cac67e1214e73a9
treeb2ffca9f474e70252e3a7ce26feacb1752ad1f8e
parent031b9f7b4ffc3138ad4362665ad623ae897e0eed
dhcp: Enter edit mode after adding a static lease from list

After a lease has been added from the list of leases it is often
desirable to edit it right away. It appeared that the system
was in edit mode after the lease has been added because the form
had the values of the recently added lease, but hitting the
"Add" button cause an error message that stated that this is
a duplicate entry.

This patch will switch to edit more where the user can change
the values and hit "Update". If he or she chooses to ignore
that the entry is still saved.
html/cgi-bin/dhcp.cgi