]> git.datanom.net - omvzfs.git/blobdiff - gui/js/omv/module/admin/storage/zfs/Overview.js
Removed some unused code.
[omvzfs.git] / gui / js / omv / module / admin / storage / zfs / Overview.js
index 0bad63995853a5ddcb0ed1090d861163a5a3abc0..42f6a4fa498992bc3fa5d1ca4d79efb2edd1f45b 100644 (file)
@@ -256,7 +256,8 @@ Ext.define("OMV.module.admin.storage.zfs.AddObject", {
                        name: "path",
                        fieldLabel: _("Prefix"),
                        allowBlank: false,
-                       readOnly: true
+                       readOnly: true,
+                       value: me.path
                },{
                        xtype: "textfield",
                        name: "name",
@@ -814,11 +815,7 @@ Ext.define("OMV.module.admin.storage.zfs.Overview", {
                var record = records[0];
                Ext.create("OMV.module.admin.storage.zfs.AddObject", {
                        title: _("Add Object"),
-                       rpcGetMethod: "passParam",
-                       rpcGetParams: {
-                               key: "path",
-                               value: record.get('path')
-                       },
+                       path: record.get("path"),
                        listeners: {
                                scope: me,
                                submit: function() {
This page took 0.034223 seconds and 5 git commands to generate.