CLOUDSTACK-3803: Fix duplicate label causing validation error

This commit is contained in:
Brian Federle 2013-10-08 15:47:48 -07:00
parent 5586a221fc
commit 7646063735
3 changed files with 6 additions and 2 deletions

View File

@ -14,6 +14,8 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
label.s3.nfs.server=S3 NFS Server
label.s3.nfs.path=S3 NFS Path
label.delete.events=Delete events
label.delete.alerts=Delete alerts
label.archive.alerts=Archive alerts

View File

@ -25,6 +25,8 @@ under the License.
<% long now = System.currentTimeMillis(); %>
<script language="javascript">
dictionary = {
'label.s3.nfs.path': '<fmt:message key="label.s3.nfs.path" />',
'label.s3.nfs.server': '<fmt:message key="label.s3.nfs.server" />',
'label.delete.events': '<fmt:message key="label.delete.events" />',
'label.delete.alerts': '<fmt:message key="label.delete.alerts" />',
'label.archive.events': '<fmt:message key="label.archive.events" />',

View File

@ -2047,7 +2047,7 @@
},
nfsCacheNfsServer: {
dependsOn: 'createNfsCache',
label: 'label.nfs.server',
label: 'label.s3.nfs.server',
validation: {
required: true
},
@ -2055,7 +2055,7 @@
},
nfsCachePath: {
dependsOn: 'createNfsCache',
label: 'label.path',
label: 'label.s3.nfs.path',
validation: {
required: true
},