comparison 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
comparison
equal deleted inserted replaced
4:09e998f65556 5:be7efc2a145e
930 beforeSend: Popups.beforeSend, 930 beforeSend: Popups.beforeSend,
931 success: function(json, status) { 931 success: function(json, status) {
932 Popups.formSuccess(popup, json); 932 Popups.formSuccess(popup, json);
933 }, 933 },
934 error: function() { 934 error: function() {
935 Popups.message("Bad Response form submission"); 935 Popups.message(Drupal.t("Bad Response form submission"));
936 } 936 }
937 }); 937 });
938 } 938 }
939 return popup; 939 return popup;
940 }; 940 };