Skip to content

Commit

Permalink
Håndtering af parametre i forbindelse med page
Browse files Browse the repository at this point in the history
I relation til issue Septima#159 er her et løsningsforslag
  • Loading branch information
sweco-dkkrer committed Apr 3, 2018
1 parent e752905 commit c921fdc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion js/formular.js
Original file line number Diff line number Diff line change
Expand Up @@ -3848,8 +3848,15 @@ Formular = SpatialMap.Class ({
}
}
}
}
},

paramHasValue: function (param) {
var curParam = this.currentParams[param];
if (typeof curParam !== 'undefined' && curParam != null && curParam.length > 0) {
return true;
}
return false;
}
});


Expand Down

0 comments on commit c921fdc

Please sign in to comment.