hicklemr / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 1 forks source link

Settings - Refresh rate applies regardless of SAVE or CANCEL #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Click Settings 
2. Change refresh rate to other value
3. Click CANCEL
4. Click Settings again.

What is the expected output? What do you see instead?
Expect the former refresh setting, but refresh rate is set to new value.

What version of the product are you using? On what operating system?
v0.2.7 on Ubuntu 8.04 (hardy)

Please provide any additional information below.

Original issue reported on code.google.com by schmic...@gmail.com on 21 Apr 2009 at 3:29

GoogleCodeExporter commented 8 years ago
Button type should be changed from "submit" to "reset" in settings.php:

echo "<p><input type='reset' onclick=\"parent.window.location='index.php';\"
value='Cancel' /> <input type='submit' name='submit' value='Save' /></p>\n";

Original comment by llamaXxX@gmail.com on 21 Apr 2009 at 5:16

GoogleCodeExporter commented 8 years ago
Thanks for the fix, llama.

(I thought I'd fixed this one ages ago!)

Original comment by lemonbe...@gmail.com on 13 May 2009 at 9:32