]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/panel/Certificates.js
bump version to 3.1-1
[proxmox-widget-toolkit.git] / src / panel / Certificates.js
index 332a189fcf6c2877a7405c3afa2917f0f7ca1f34..f3358f62f30b9286f1f0a6c1971db20ce355ea5c 100644 (file)
@@ -86,13 +86,12 @@ Ext.define('Proxmox.panel.Certificates', {
            method: 'DELETE',
            success: function(response, opt) {
                if (cert.reloadUid) {
-                   let txt =
-                       gettext('GUI will be restarted with new certificates, please reload!');
-                   Ext.getBody().mask(txt, ['x-mask-loading']);
-                   // reload after 10 seconds automatically
-                   Ext.defer(function() {
-                       window.location.reload(true);
-                   }, 10000);
+                   Ext.getBody().mask(
+                       gettext('API server will be restarted to use new certificates, please reload web-interface!'),
+                       ['pve-static-mask'],
+                   );
+                   // try to reload after 10 seconds automatically
+                   Ext.defer(() => window.location.reload(true), 10000);
                }
            },
            failure: function(response, opt) {