cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [02/19] git commit: updated refs/heads/ui-restyle to 4b63867
Date Tue, 24 Sep 2013 18:19:02 GMT
CLOUDSTACK-4128: UI > zone wizard > secondary storage step > provider "S3" > Create
NFS staging is required for S3 at this moment. So, disallow user to uncheck "Create NFS Secondary
Staging" checkbox when provider is "S3".


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/df3ee9a9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/df3ee9a9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/df3ee9a9

Branch: refs/heads/ui-restyle
Commit: df3ee9a92d666dfe08525af858ac5593e688468c
Parents: c1b5612
Author: Jessica Wang <jessicawang@apache.org>
Authored: Mon Sep 23 13:54:20 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Mon Sep 23 13:57:47 2013 -0700

----------------------------------------------------------------------
 ui/scripts/zoneWizard.js | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/df3ee9a9/ui/scripts/zoneWizard.js
----------------------------------------------------------------------
diff --git a/ui/scripts/zoneWizard.js b/ui/scripts/zoneWizard.js
index 7b26790..960fcb7 100755
--- a/ui/scripts/zoneWizard.js
+++ b/ui/scripts/zoneWizard.js
@@ -1913,13 +1913,7 @@
                                                  $fields.filter('[rel=usehttps]').hide();
                                                  $fields.filter('[rel=connectiontimeout]').hide();
                                                  $fields.filter('[rel=maxerrorretry]').hide();
-                                                 $fields.filter('[rel=sockettimeout]').hide();
-
-                                                 $fields.filter('[rel=createNfsCache]').find('input').attr('checked',
'checked');
-                                                 $fields.filter('[rel=createNfsCache]').find('input').attr("disabled",
"disabled");
-                                                 $fields.filter('[rel=createNfsCache]').css('display',
'inline-block');
-                                                 $fields.filter('[rel=nfsCacheNfsServer]').css('display',
'inline-block');
-                                                 $fields.filter('[rel=nfsCachePath]').css('display',
'inline-block');
+                                                 $fields.filter('[rel=sockettimeout]').hide();
  
                                             } else {
                                             	 $fields.filter('[rel=accesskey]').css('display',
'inline-block');
                                                  $fields.filter('[rel=secretkey]').css('display',
'inline-block');
@@ -1929,13 +1923,13 @@
                                                  $fields.filter('[rel=connectiontimeout]').css('display',
'inline-block');
                                                  $fields.filter('[rel=maxerrorretry]').css('display',
'inline-block');
                                                  $fields.filter('[rel=sockettimeout]').css('display',
'inline-block');
-
-                                                 $fields.filter('[rel=createNfsCache]').find('input').attr('checked',
'checked');
-                                                 $fields.filter('[rel=createNfsCache]').css('display',
'inline-block');
-                                                 $fields.filter('[rel=nfsCacheNfsServer]').css('display',
'inline-block');
-                                                 $fields.filter('[rel=nfsCachePath]').css('display',
'inline-block');
                                             }      
-
+                                            $fields.filter('[rel=createNfsCache]').find('input').attr('checked',
'checked');
+                                            $fields.filter('[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
+                                            $fields.filter('[rel=createNfsCache]').css('display',
'inline-block');
+                                            $fields.filter('[rel=nfsCacheNfsServer]').css('display',
'inline-block');
+                                            $fields.filter('[rel=nfsCachePath]').css('display',
'inline-block');
+                                            
                                             //Swift
                                             $fields.filter('[rel=url]').hide();
                                             $fields.filter('[rel=account]').hide();


Mime
View raw message