Skip to content

Commit 8a71656

Browse files
committed
Merge pull request #13 from onkelzfreak1988/patch-3
fix triggers (events "complete", "success", "fail") on the Rain_Form library
2 parents 5a7a3b6 + ca858aa commit 8a71656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/library/Form.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ function add_validation( $name, $validation, $message = null ){
5050
$this->form_obj->add_validation( $name, $validation, $message );
5151
}
5252

53-
function draw( $ajax = false, $return_string = false ){
54-
return $this->form_obj->draw( $ajax, $return_string );
53+
function draw( $ajax = false, $return_string = false , $triggers = null){
54+
return $this->form_obj->draw( $ajax, $return_string , $triggers);
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)