Commit 9cbe82b50135947f8bea4ea31d14b9b8d4d481ae

Authored by Anastasia
1 parent cef18d3a

- forms ajax

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
frontend/config/main.php
@@ -124,6 +124,8 @@ @@ -124,6 +124,8 @@
124 setTimeout(function(){$(".success_").animate({opacity: 0, top: \'0\'}, 200,function(){ 124 setTimeout(function(){$(".success_").animate({opacity: 0, top: \'0\'}, 200,function(){
125 $(this).removeClass("done_"); 125 $(this).removeClass("done_");
126 })}, 4000); 126 })}, 4000);
  127 + var data = $("#feedback-form").data(\'yiiActiveForm\');
  128 + data.validated = false;
127 } 129 }
128 130
129 }', 131 }',