From: Niclas Berglind Date: Wed, 8 Oct 2014 20:05:25 +0000 (+0200) Subject: Removed some unused code. X-Git-Url: http://git.datanom.net/omvzfs.git/commitdiff_plain/a01b6467743cf7d8258e977b7afb188d7b7b6969 Removed some unused code. Signed-off-by: Niclas Berglind --- 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() {