mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Automatically flush cache when updating admins list
This commit is contained in:
parent
396d77a6e4
commit
d5817563f3
@ -275,6 +275,7 @@ define([
|
||||
$b.prop('disabled', false);
|
||||
if (err) { return; }
|
||||
APP.updateStatus(function () {
|
||||
flushCache();
|
||||
evRefreshAdmins.fire();
|
||||
});
|
||||
});
|
||||
@ -314,6 +315,7 @@ define([
|
||||
return void cb('ERROR');
|
||||
}
|
||||
if (typeof(cb) === "function") { cb(); }
|
||||
flushCache();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user