summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/Web/UI/WebControls/TMultiView.php10
-rw-r--r--framework/Web/UI/WebControls/TWizard.php10
2 files changed, 10 insertions, 10 deletions
diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php
index 5f4f3d84..6dd0d8f1 100644
--- a/framework/Web/UI/WebControls/TMultiView.php
+++ b/framework/Web/UI/WebControls/TMultiView.php
@@ -248,6 +248,16 @@ class TMultiView extends TControl
}
/**
+ * Loads state into the wizard.
+ * This method is invoked by the framework when the control state is being saved.
+ */
+ public function loadState()
+ {
+ // a dummy call to ensure the view is activated
+ $this->getActiveView();
+ }
+
+ /**
* Renders the currently active view.
* @param THtmlWriter the writer for the rendering purpose.
*/
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php
index 851c5bbf..fd849d3d 100644
--- a/framework/Web/UI/WebControls/TWizard.php
+++ b/framework/Web/UI/WebControls/TWizard.php
@@ -736,16 +736,6 @@ class TWizard extends TWebControl implements INamingContainer
}
/**
- * Loads state into the wizard.
- * This method is invoked by the framework when the control state is being saved.
- */
- public function loadState()
- {
- // a dummy call to ensure the step is activated
- $this->getActiveStep();
- }
-
- /**
* Indicates the wizard needs to recreate all child controls.
*/
protected function requiresControlsRecreation()