]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/filesystem.html
update sources to v12.2.3
[ceph.git] / ceph / src / pybind / mgr / dashboard / filesystem.html
index 60a97a007d7628967174261be927d8637a77cc2e..b93e1f62a9e4f225d87cb9968e79ead83689291a 100644 (file)
                 $.get("{{ url_prefix }}/filesystem_data/" + content_data.fs_status.filesystem.id  + "/", function(data) {
                     _.extend(content_data.fs_status, data);
                     setTimeout(refresh, 5000);
+                }).fail(function() {
+                    // Perhaps the filesystem we're viewing no longer exists.
+                    // Go back to home.
+                    window.location.href = "{{ url_prefix }}/";
                 });
             };