openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f3e5595531cf2c35cef102f46298324231442b33
parent 199611e519976ce9f179366ade45b4a285ecf261
Author: dankert <devnull@localhost>
Date:   Thu, 10 Feb 2011 02:14:54 +0100

in #updateView() ein Refresh durchführen und per Template-Variable an die Oberfläche liefern.

Diffstat:
action/Action.class.php | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/action/Action.class.php b/action/Action.class.php @@ -435,6 +435,7 @@ class Action global $PHP_SELF; global $HTTP_SERVER_VARS; global $image_dir; + global $view; $tplName = str_replace( '_','/',$tplName ); @@ -737,6 +738,7 @@ class Action function refresh() { $this->refresh = true; + $this->setTemplateVar('refresh',true); } @@ -775,6 +777,8 @@ class Action global $views; if ( array_key_exists($viewName,$views) ) $views[$viewName] = array('action'=>$viewAction,'subaction'=>$viewSubaction); + + $this->refresh(); } }