bug #5022 :   The javascript function stop is triggered also when an error occurs
Merge branch 'bug-5022' of git://github.com/mmoqui/Silverpeas-Core into mmoqui-bug-5022