The program lets you keep clicking the power up link, asks for confirmation and says it successfully upgraded a given pokemon (but didnt), even though it is at max for the trainer level. It is very easy to reproduce, just power up any pokemon to max, and you will see the program never warns you reached to the maximum. The power up link shouldnt be clickable anymore if the pokemon is already at max for your level, or there should be a warning instead of the confirmation prompt to inform the user that the pokemon is already at max.
Update: Even if a pokemon is not at max, the program doesnt warn you when you are out of candy, so it keeps letting you click to power up again and says it was upgraded successfully (also, there is a little typo in this message in the program, it should be written "successfully" instead of "succesfully").
The program lets you keep clicking the power up link, asks for confirmation and says it successfully upgraded a given pokemon (but didnt), even though it is at max for the trainer level. It is very easy to reproduce, just power up any pokemon to max, and you will see the program never warns you reached to the maximum. The power up link shouldnt be clickable anymore if the pokemon is already at max for your level, or there should be a warning instead of the confirmation prompt to inform the user that the pokemon is already at max.
Update: Even if a pokemon is not at max, the program doesnt warn you when you are out of candy, so it keeps letting you click to power up again and says it was upgraded successfully (also, there is a little typo in this message in the program, it should be written "successfully" instead of "succesfully").