prototypejs 1.7 fixes
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 30 Jul 2010 16:52:08 +0000 (10:52 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 30 Jul 2010 17:43:27 +0000 (11:43 -0600)
horde/js/addressbooksprefs.js
horde/js/sourceselect.js

index 4cac04f..2014254 100644 (file)
@@ -48,7 +48,7 @@ var HordeAddressbooksPrefs = {
                 out.set(f.key, f.value.selected);
             });
 
-            $('search_fields').setValue(out.toJSON());
+            $('search_fields').setValue(Object.toJSON(out));
         }
     },
 
index 1dc1d0f..a2b7570 100644 (file)
@@ -29,7 +29,7 @@ var HordeSourceSelectPrefs = {
             });
         }
 
-        $('sources').setValue(out.toJSON());
+        $('sources').setValue(Object.toJSON(out));
     },
 
     moveAction: function(from, to)