]> git.datanom.net - omvzfs.git/blobdiff - gui/js/omv/module/admin/storage/zfs/TreePanel.js
Support for cloned filesystems and volumes.
[omvzfs.git] / gui / js / omv / module / admin / storage / zfs / TreePanel.js
index 373f5b6149be50e8db046d20dc15fd46279a12d6..56c3ec0f4ce0ba057d6715d4d3f99ed197d0e9f9 100644 (file)
@@ -337,9 +337,9 @@ Ext.define("OMV.module.admin.storage.zfs.TreePanel", {
                        tbarBtnHidden["delete"] = false;
                        tbarBtnHidden["expand"] = true;
                }
-               //Disable 'AddObj' button if selected row is a Snapshot
+               //Disable 'AddObj' button if selected row is a Clone
                Ext.Array.each(records, function(record) {
-                       if("Snapshot" == record.get("type")) {
+                       if("Clone" == record.get("type")) {
                                tbarBtnDisabled["addobj"] = true;
                                tbarBtnHidden["addobj"] = true;
                        return false;
This page took 0.030194 seconds and 5 git commands to generate.