'F' == false
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 19 Jul 2006 17:56:41 +0000 (17:56 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 19 Jul 2006 17:56:41 +0000 (17:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5087 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/OpenILS/util_overlay.xul

index 9a47a17..5af42e0 100644 (file)
                        }
 
                        function get_bool(a) {
-                               // Normal javascript interpretation except 'f' == false, per postgres
+                               // Normal javascript interpretation except 'f' == false, per postgres, and 'F' == false
                                // So false includes 'f', '', 0, null, and undefined
                                if (a == 'f') return false;
+                               if (a == 'F') return false;
                                if (a) return true; else return false;
                        }