You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2013/10/26 01:47:24 UTC

git commit: updated refs/heads/4.2 to 1206613

Updated Branches:
  refs/heads/4.2 572c81f58 -> 1206613c7


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/1206613c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1206613c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1206613c

Branch: refs/heads/4.2
Commit: 1206613c7ad6060e3a048b025691e5e0de2eb662
Parents: 572c81f
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:14 2013 -0700

----------------------------------------------------------------------
 ui/scripts/system.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1206613c/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index 3b57a9d..f05e1ac 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -14294,6 +14294,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');