Author: ralfbecker
New Revision: 55798
URL: http://svn.stylite.de/viewvc/egroupware?rev=55798&view=rev
Log:
allow to use Framework::message together with Framework::redirect, eg. to show success message and redirect to index page
Modified:
trunk/egroupware/api/src/Framework.php
— trunk/egroupware/api/src/Framework.php (original)
+++ trunk/egroupware/api/src/Framework.php Thu Apr 21 17:25:04 2016
@@ -193,6 +193,13 @@
{
Json\Response::get()->redirect($url, false, $link_app);
-
// check if we have a message, in which case send it along too
-
$extra = self::get_extra();
-
if ($extra['message'])
-
{
-
Json\Response::get()->apply('egw.message', $extra['message']);
-
}
-
// If we are in a json request, we should not flush the current output!
$do_flush = false;
}
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs