]> git.datanom.net - omvzfs.git/commitdiff
Removed some unused code.
authorNiclas Berglind <nb@kjam.se>
Wed, 8 Oct 2014 20:05:25 +0000 (22:05 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 8 Oct 2014 22:04:53 +0000 (00:04 +0200)
Signed-off-by: Niclas Berglind <nb@kjam.se>
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,
                        name: "path",
                        fieldLabel: _("Prefix"),
                        allowBlank: false,
-                       readOnly: true
+                       readOnly: true,
+                       value: me.path
                },{
                        xtype: "textfield",
                        name: "name",
                },{
                        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"),
                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() {
                        listeners: {
                                scope: me,
                                submit: function() {
This page took 0.032665 seconds and 5 git commands to generate.