]> git.datanom.net - omvzfs.git/blobdiff - gui/js/omv/module/admin/storage/zfs/Overview.js
Another attempt to integrate with OMV shared folders.
[omvzfs.git] / gui / js / omv / module / admin / storage / zfs / Overview.js
index 3230435105d13863cdd14b59e2365e706a3b0ecc..2a3fe1509a4bbf565d4ecefa98cdd9192ec87bc9 100644 (file)
@@ -181,7 +181,10 @@ Ext.define("OMV.module.admin.storage.zfs.AddPool", {
                        name: "force",
                        fieldLabel: _("Force creation"),
                        checked: false,
-                       boxLabel: _("Forces the creation of the pool even if errors are reported. Use with extreme caution!")
+                       plugins: [{
+                               ptype: "fieldinfo",
+                               text: _("Forces the creation of the pool even if errors are reported. Use with extreme caution!")
+                       }]
                }];
        },
 
@@ -305,10 +308,7 @@ Ext.define("OMV.module.admin.storage.zfs.EditProperties", {
                                        e.record.set("modified", "true");
                                },
                                beforeedit: function(editor, e, eOpts) {
-                                       if (e.record.get("property") === "mountpoint") {
-                                               e.grid.getPlugin('rowEditing').editor.form.findField("value").disable();
-                                               e.grid.getPlugin('rowEditing').editor.form.findField("property").disable();
-                                       } else if (e.record.get("newproperty") === "false") {
+                                       if (e.record.get("newproperty") === "false") {
                                                e.grid.getPlugin('rowEditing').editor.form.findField("value").enable();
                                                e.grid.getPlugin('rowEditing').editor.form.findField("property").disable();
                                        } else {
@@ -495,8 +495,8 @@ Ext.define("OMV.module.admin.storage.zfs.CreateShare", {
                        xtype: "textfield",
                        name: "mountpoint",
                        fieldLabel: _("Path"),
-                       allowBlank: false,
-                       readOnly: true
+                       allowBlank: true,
+                       readOnly: false
                },{
                        xtype: "combo",
                        name: "mode",
This page took 0.031265 seconds and 5 git commands to generate.