File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
resources/views/server/js/filemanager Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,15 @@ class ActionsClass {
325325 const compPath = decodeURIComponent(nameBlock.data('path'));
326326 const compName = decodeURIComponent(nameBlock.data('name'));
327327
328+ swal({
329+ title: '<i class =" fa fa-refresh fa-spin" ></i > Decompressing...',
330+ text: 'This might take a few seconds to complete.',
331+ html: true,
332+ allowOutsideClick: false,
333+ allowEscapeKey: false,
334+ showConfirmButton: false,
335+ });
336+
328337 $.ajax({
329338 type: 'POST',
330339 url: `{{ $node -> scheme } } ://{{ $node -> fqdn } } :{{ $node -> daemonListen } } /server/file/decompress`,
@@ -337,6 +346,7 @@ class ActionsClass {
337346 files: `${compPath}${compName}`
338347 })
339348 }).done(data => {
349+ swal.close();
340350 Files.list(compPath);
341351 }).fail(jqXHR => {
342352 console.error(jqXHR);
You can’t perform that action at this time.
0 commit comments