fix folder name validation

This commit is contained in:
Mads Rasmussen
2017-11-07 14:11:57 +01:00
parent 2a90478ba7
commit c773714e2d
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
vm.initNextStep = initNextStep;
function initNextStep() {
if(element.val() === "My folder") {
if(element.val().toLowerCase() === "my images") {
$scope.model.nextStep();
} else {
vm.error = true;

View File

@@ -8,7 +8,7 @@
<umb-tour-step-content
content="model.currentStep.content">
<div ng-if="vm.error" class="color-red" style="margin-top: 5px;">Please enter <b>My folder</b> in the field</div>
<div ng-if="vm.error" class="color-red" style="margin-top: 5px;">Please enter <b>My Images</b> in the field</div>
</umb-tour-step-content>
<umb-tour-step-footer class="flex justify-between items-center">