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