Fix ajax view prefs display when switching prefs apps.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 15 Jul 2010 17:19:17 +0000 (11:19 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 15 Jul 2010 19:10:27 +0000 (13:10 -0600)
framework/Core/lib/Horde/Core/Prefs/Ui.php
horde/templates/prefs/app.html

index a8aea5f..778d437 100644 (file)
@@ -548,6 +548,7 @@ class Horde_Core_Prefs_Ui
 
         $base_ui = clone $base;
         $base_ui->set('action', $options_link);
+        $base_ui->set('ajaxui', intval($this->vars->ajaxui));
         $base_ui->set('forminput', Horde_Util::formInput());
 
         /* Show the current application and a form for switching
index e0e4464..0566661 100644 (file)
@@ -1,4 +1,5 @@
-<form method="get" name="appswitch" id="appswitch" action="<tag:action />">
+<form name="appswitch" id="appswitch" action="<tag:action />">
+ <input type="hidden" name="ajaxui" value="<tag:ajaxui />" />
  <tag:forminput />
  <div class="header">
   <span class="smallheader rightFloat">