summaryrefslogtreecommitdiff
path: root/bug/bug_fr
diff options
context:
space:
mode:
authorRob Snelders <programming@ertai.nl>2013-02-14 23:33:51 +0100
committerRob Snelders <programming@ertai.nl>2013-02-14 23:33:51 +0100
commit4be50166f6cc4a79f24b5fc34600be5b4eb9185e (patch)
tree891a4ccab1c6964500c98848e68efd3878015a63 /bug/bug_fr
parent2358b74daabf767ab2c844776aa4d75cb7b258c5 (diff)
solved a bug in the FR-BSA with checking if it is ok
Diffstat (limited to 'bug/bug_fr')
-rw-r--r--bug/bug_fr/bug/bug.js2
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();