The result is already quoted.
authorJan Schneider <jan@horde.org>
Tue, 18 Aug 2009 07:35:29 +0000 (09:35 +0200)
committerJan Schneider <jan@horde.org>
Tue, 18 Aug 2009 09:44:00 +0000 (11:44 +0200)
imp/lib/IMP.php

index 1bfc2f6..4f4d84f 100644 (file)
@@ -1231,7 +1231,7 @@ class IMP
             'cancel_text' => _("Cancel")
         );
 
-        return 'IMPDialog.display(\'' . Horde::escapeJson($js_params, array('urlencode' => true)) . '\')';
+        return 'IMPDialog.display(' . Horde::escapeJson($js_params, array('urlencode' => true)) . ')';
     }
 
     /**