i am trying to edit this function form_update_and_go_back , and i couldn't find where this function came from , i need to edit the function of form_update_and_go_back
could anyone help me finding this ?
here is the flexgrid theme edit.php file that i am working in ,
<?php echo form_open( $update_url, 'method="post" id="crudForm" enctype="multipart/form-data"'); ?> <div class='form-div'> <?php $counter = 0; foreach($fields as $field) { $even_odd = $counter % 2 == 0 ? 'odd' : 'even'; $counter++; ?> <div class='form-field-box <?php echo $even_odd?>' id="<?php echo $field->field_name; ?>_field_box"> <div class='form-display-as-box' id="<?php echo $field->field_name; ?>_display_as_box"> <?php echo $input_fields[$field->field_name]->display_as?><?php echo ($input_fields[$field->field_name]->required)? "<span class='required'>*</span> " : ""?> : </div> <div class='form-input-box' id="<?php echo $field->field_name; ?>_input_box"> <?php echo $input_fields[$field->field_name]->input?> </div> <div class='clear'></div> </div> <?php }?> <?php if(!empty($hidden_fields)){?> <!-- Start of hidden inputs --> <?php foreach($hidden_fields as $hidden_field){ echo $hidden_field->input; } ?> <!-- End of hidden inputs --> <?php }?> <?php if ($is_ajax) { ?><input type="hidden" name="is_ajax" value="true" /><?php }?> <div id='report-error' class='report-div error'></div> <div id='report-success' class='report-div success'></div> </div> <div class="pDiv"> <div class='form-button-box'> <input id="form-button-save" type='submit' value='<?php echo $this->l('form_update_changes'); ?>' class="btn btn-large"/> </div> <?php if(!$this->unset_back_to_list) { ?> <div class='form-button-box'> <input type='button' value='<?php echo $this->l('form_update_and_go_back'); ?>' id="save-and-go-back-button" class="btn btn-large"/> </div> <div class='form-button-box'> <input type='button' value='<?php echo $this->l('form_cancel'); ?>' class="btn btn-large" id="cancel-button" /> </div> <?php } ?> <div class='form-button-box'> <div class='small-loading' id='FormLoading'><?php echo $this->l('form_update_loading'); ?></div> </div> <div class='clear'></div> </div> <?php echo form_close(); ?>