CLOUDSTACK-4128: UI > Infrastructure > Secondary Storage > Create Secondary Storage > Provider S3 > make "Create NFS Secondary Staging Store" checked and non-editable.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/718bc37d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/718bc37d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/718bc37d Branch: refs/heads/object_store_migration Commit: 718bc37dc0333d96ef7f48c96715fe22033c1803 Parents: 9f7b488 Author: Jessica Wang <[email protected]> Authored: Fri Oct 25 16:47:05 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Fri Oct 25 16:47:52 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/718bc37d/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 7fb807d..8d8c02c 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -14288,6 +14288,7 @@ $form.find('.form-item[rel=sockettimeout]').css('display', 'inline-block'); $form.find('.form-item[rel=createNfsCache]').find('input').attr('checked', 'checked'); + $form.find('.form-item[rel=createNfsCache]').find('input').attr('disabled', 'disabled'); //Create NFS staging is required for S3 at this moment. So, disallow user to uncheck "Create NFS Secondary Staging" checkbox $form.find('.form-item[rel=createNfsCache]').css('display', 'inline-block'); $form.find('.form-item[rel=nfsCacheZoneid]').css('display', 'inline-block'); $form.find('.form-item[rel=nfsCacheNfsServer]').css('display', 'inline-block');
