From a01b6467743cf7d8258e977b7afb188d7b7b6969 Mon Sep 17 00:00:00 2001 From: Niclas Berglind Date: Wed, 8 Oct 2014 22:05:25 +0200 Subject: [PATCH] Removed some unused code. Signed-off-by: Niclas Berglind --- gui/js/omv/module/admin/storage/zfs/Overview.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gui/js/omv/module/admin/storage/zfs/Overview.js b/gui/js/omv/module/admin/storage/zfs/Overview.js index 0bad639..42f6a4f 100644 --- a/gui/js/omv/module/admin/storage/zfs/Overview.js +++ b/gui/js/omv/module/admin/storage/zfs/Overview.js @@ -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() { -- 2.39.2