]> git.datanom.net - omvzfs.git/blob - patches/Filesystem.patch
Patches to OMV core
[omvzfs.git] / patches / Filesystem.patch
1 --- omv/Filesystem.js.org 2014-09-18 10:52:09.777037347 +0200
2 +++ omv/Filesystem.js 2014-09-18 21:18:41.363038848 +0200
3 @@ -642,6 +642,14 @@
4 tbarBtnDisabled["quota"] = true;
5 }
6 }
7 + //Disable all buttons for zfs filesystems. These actions should be
8 + //handled by 3rd party plugin.
9 + if([ "zfs_member" ].indexOf(
10 + records[0].get("type")) == 0) {
11 + tbarBtnDisabled["mount"] = true;
12 + tbarBtnDisabled["unmount"] = true;
13 + tbarBtnDisabled["delete"] = true;
14 + }
15 // Update the button controls.
16 Ext.Object.each(tbarBtnDisabled, function(key, value) {
17 this.setToolbarButtonDisabled(key, value);
This page took 0.068415 seconds and 6 git commands to generate.