tbrehm
2005-12-06 e82e500714da62f2060ea2061c6e48ccd8027383
interface/lib/classes/tform_actions.inc.php
@@ -114,6 +114,8 @@
                                $plugin->onInsert();
                        }
                  $this->onAfterUpdate();
                        if($_REQUEST["next_tab"] == '') {
                                $list_name = $_SESSION["s"]["form"]["return_to"];
                        if($list_name != '' && $_SESSION["s"]["list"][$list_name]["parent_id"] != $this->id && $_SESSION["s"]["list"][$list_name]["parent_name"] != $app->tform->formDef["name"]) {
@@ -152,6 +154,8 @@
                                $plugin->onInsert();
                        }
                  $this->onAfterInsert();
                        if($_REQUEST["next_tab"] == '') {
                            $list_name = $_SESSION["s"]["form"]["return_to"];
                        if($list_name != '' && $_SESSION["s"]["list"][$list_name]["parent_id"] != $this->id && $_SESSION["s"]["list"][$list_name]["parent_name"] != $app->tform->formDef["name"]) {
@@ -171,6 +175,15 @@
                }
        }
      function onAfterUpdate() {
         global $app, $conf;
      }
      function onAfterInsert() {
         global $app, $conf;
      }
        /**
        * Function called on data insert or update error
        */