Permalink
Browse files

Secure the t("Completed") call.

  • Loading branch information...
1 parent 44b3720 commit c011b0e1f63215a4389658ca0a6edcef47a0ea8c @bharat bharat committed Jan 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/gallery/views/form_uploadify.html.php
@@ -58,7 +58,7 @@
"<li class=\"g-error\">" + fileObj.name + " - " + msg[1] + "</li>");
} else {
$("#g-add-photos-status ul").append(
- "<li class=\"g-success\">" + fileObj.name + " - <?= t("Completed") ?></li>");
+ "<li class=\"g-success\">" + fileObj.name + " - " + <?= t("Completed")->for_js() ?> + "</li>");
}
return true;
},

0 comments on commit c011b0e

Please sign in to comment.