[Libreoffice-commits] website.git: bug/bug_fr

Rob Snelders programming at ertai.nl
Sat Feb 16 11:58:36 PST 2013


 bug/bug_fr/bug/bug.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4be50166f6cc4a79f24b5fc34600be5b4eb9185e
Author: Rob Snelders <programming at ertai.nl>
Date:   Thu Feb 14 23:33:51 2013 +0100

    solved a bug in the FR-BSA with checking if it is ok

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();


More information about the Libreoffice-commits mailing list