diff --git a/public_html/includes/js/LSform.js b/public_html/includes/js/LSform.js index 6f48f3ce..a25edfe8 100644 --- a/public_html/includes/js/LSform.js +++ b/public_html/includes/js/LSform.js @@ -27,14 +27,15 @@ var LSform = new Class({ this.params={}; } this._ajaxSubmit=this.params.ajaxSubmit; + + this.warnBox = new LSinfosBox({ + name: 'LSformWarnBox', + fxDuration: 600, + closeBtn: 1, + autoClose: 0 + }); + if ($type(this.params.warnings)) { - this.warnBox = new LSinfosBox({ - name: 'LSformWarnBox', - fxDuration: 600, - closeBtn: 1, - autoClose: 0 - }); - this.warnTxt = '