diff options
-rw-r--r-- | bug/bug_fr/bug/bug.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/bug_fr/bug/bug.js b/bug/bug_fr/bug/bug.js index c1eced7..431ad2f 100644 --- a/bug/bug_fr/bug/bug.js +++ b/bug/bug_fr/bug/bug.js @@ -300,7 +300,7 @@ $(element).removeClass('inprogress'); $("body").css("cursor", "default"); var output = $(this).contents().find($.bug.state_submit_element).html(); - if (strpos(output, "TRUE") > 0) + if (output.indexOf("TRUE") > 0) var data = "The bug report has been successfully submitted.". $('.bug', element).text(data); $.bug.state_success(); |