You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/10/29 04:53:04 UTC

[14/50] [abbrv] git commit: updated refs/heads/object_store_migration to 5ec2a44

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 <je...@apache.org>
Authored: Fri Oct 25 16:47:05 2013 -0700
Committer: Jessica Wang <je...@apache.org>
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');