Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
interface/lib/classes/tform_actions.inc.php
@@ -75,6 +75,7 @@
        * Function called on page submit
        */
        function onSubmit() {
                global $app, $conf;
                
@@ -97,10 +98,10 @@
                }
        }
        /**
        * Function called on data update
        */
        function onUpdate() {
                global $app, $conf;
            
@@ -181,10 +182,12 @@
      }
      
        /**
        * Function called on data insert
        */
        function onInsert() {
                global $app, $conf;
            
@@ -275,7 +278,6 @@
        /**
        * Function called on data insert or update error
        */
        function onError() {
                global $app, $conf;
@@ -284,14 +286,14 @@
                $this->onShow();
        }
        /**
        * Function called on data delete
        */
        function onDelete() {
                global $app, $conf,$list_def_file,$tform_def_file;
                include_once($list_def_file);
      include_once $list_def_file;
                // Loading tform framework
                if(!is_object($app->tform)) $app->uses('tform');
@@ -360,10 +362,13 @@
            global $app, $conf;
        }
      
      /**
        * Function to print the form content
        */
      function onPrintForm() {
         global $app, $conf;
         
@@ -390,10 +395,13 @@
         
      }
      
      /**
        * Function to print the form content
        */
      function onMailSendForm() {
         global $app, $conf;
         
@@ -467,10 +475,10 @@
         
      }
        /**
        * Function called on page show
        */
        function onShow() {
                global $app, $conf;
@@ -524,10 +532,10 @@
        }
        /**
        * Function called on new record
        */
        function onShowNew() {
                global $app, $conf;
@@ -541,10 +549,10 @@
                $app->tpl->setVar($record);
        }
        /**
        * Function called on edit record
        */
        function onShowEdit() {
                global $app, $conf;