diff popups.js @ 5:be7efc2a145e

Allow for translation of the "Bad response form submission" message. Even though it'll hopefully happen less frequently, the message should still be translatable.
author Franck Deroche <franck@defr.org>
date Fri, 31 Dec 2010 14:05:43 +0100
parents 09e998f65556
children e02de6b2566e
line wrap: on
line diff
--- a/popups.js	Fri Dec 31 14:03:41 2010 +0100
+++ b/popups.js	Fri Dec 31 14:05:43 2010 +0100
@@ -932,7 +932,7 @@
         Popups.formSuccess(popup, json);
       },
       error: function() {
-        Popups.message("Bad Response form submission");
+        Popups.message(Drupal.t("Bad Response form submission"));
       }
     });
   }