On Sat, 27 Jun 2015 12:45:52 +0200, Michael Tremer michael.tremer@ipfire.org wrote:
Alright. The first two TODOs are easy. There is a variable called $blob which is defined a couple of lines above. You would need to change the if statement so that it checks for "net" and that should do the job I guess.
Thx, fixed and looking good.
The other huge blocks need to be cut in two pieces. Usually they use something that looks like this:
Hmm, it looks a little bit ugly as I have to split a <td>-element in half to enter the <img>-element, but it will work.
Though, another problem came up: When the user changes the value of the radio button to select between "Customer" and "Provider", the page would need to be reloaded so the star is displayed or removed from the fields that are only necessary when "Provider" is selected, but not when "Customer" is selected.
How can I do that (without loosing any user input that has not been saved yet)?
Lars