VRFS-3245 : Fix genre validation on wrong step.
This commit is contained in:
parent
7f02ca5240
commit
a22a77bbb6
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
context.JK.BandSetupScreen = function (app) {
|
||||
var NONE_SPECIFIED = 'None specified'
|
||||
var GENRE_STEP = 1
|
||||
var ui = new context.JK.UIHelper(JK.app)
|
||||
var logger = context.JK.logger;
|
||||
var profileUtils = context.JK.ProfileUtils;
|
||||
|
|
@ -216,7 +217,7 @@
|
|||
band.hourly_rate=$("#hourly-rate").val()
|
||||
band.gig_minimum=$("#gig-minimum").val()
|
||||
|
||||
if (currentStep==3) {
|
||||
if (currentStep==GENRE_STEP) {
|
||||
band.genres = getSelectedGenres();
|
||||
band.validate_genres = true
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue