Index: misc/drupal.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/drupal.js,v
retrieving revision 1.21
diff -u -r1.21 drupal.js
--- misc/drupal.js	5 Apr 2006 00:53:16 -0000	1.21
+++ misc/drupal.js	16 Apr 2006 21:50:09 -0000
@@ -315,7 +315,7 @@
  * The result is either the JSON object, or an object with 'status' 0 and 'data' an error message.
  */
 function parseJson(data) {
-  if (data.substring(0,1) != '{') {
+  if ((data.substring(0, 1) != '{') && (data.substring(0, 1) != '[')) {
     return { status: 0, data: data.length ? data : 'Unspecified error' };
   }
   return eval('(' + data + ');');
