Files
freeipa/install/ui/test
Petr Vobornik 3ca0f6aee5 Fixed evaluating checkbox dirty status
Problem:
When value in checkbox is modified twice in a row (so it is at its original value) an 'undo' button is still visible even when it shouldn't be.

Cause:
IPA server sends boolean values as 'TRUE' or 'FALSE' (strings). Checkbox_widget converts them to JavaScript? boolean (true, false). Save method in checkbox_widget is returning array with a boolean. So test_dirty method always evaluates to dirty because 'FALSE' != false.

This patch is fixing the problem.

https://fedorahosted.org/freeipa/ticket/2494
2012-03-15 16:08:02 +01:00
..
2012-02-01 15:51:50 +01:00
2011-04-05 21:21:54 +00:00
2011-06-13 09:23:29 -04:00
2011-04-05 21:21:54 +00:00
2011-05-20 12:11:47 -04:00
2011-12-21 13:13:06 -06:00
2011-12-21 13:13:06 -06:00
2011-05-20 12:11:47 -04:00
2011-01-20 14:12:47 +00:00
2011-01-20 14:12:47 +00:00
2011-01-20 14:12:47 +00:00

http://www.freeipa.org/page/UI_Unit_Tests