mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
fix double message in popup and none in main window
This commit is contained in:
@@ -1060,7 +1060,7 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// app running top-level (no full refresh / window reload!)
|
// app running top-level (no full refresh / window reload!)
|
||||||
if (win == window)
|
if (win == window && _app !== 'msg-only-push-refresh')
|
||||||
{
|
{
|
||||||
var refresh_done = false;
|
var refresh_done = false;
|
||||||
// et2 nextmatch available, let it refresh
|
// et2 nextmatch available, let it refresh
|
||||||
|
@@ -61,8 +61,7 @@ abstract class Extra
|
|||||||
!empty($type) && !empty($id) && // $type === null --> full reload
|
!empty($type) && !empty($id) && // $type === null --> full reload
|
||||||
Link::get_registry($app, 'push_data') !== null)
|
Link::get_registry($app, 'push_data') !== null)
|
||||||
{
|
{
|
||||||
self::$extra['message'] = [$msg, $msg_type];
|
$app = 'msg-only-push-refresh';
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__.'('.array2string(func_get_args()).')');
|
//error_log(__METHOD__.'('.array2string(func_get_args()).')');
|
||||||
self::$extra['refresh-opener'] = func_get_args();
|
self::$extra['refresh-opener'] = func_get_args();
|
||||||
|
Reference in New Issue
Block a user