FBI-2533: When the googleMaps variable was not defined in the class PmDynaform.php and /js/cases/core/pmDynaform.js the form crashes.

clean code

clean code 2

remove an extra coma
This commit is contained in:
Rodrigo Quelca
2018-10-30 13:58:33 +00:00
parent 9553a5b615
commit d87679f079
2 changed files with 3 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ $(window).load(function () {
},
token: credentials,
submitRest: false,
googleMaps: googleMaps,
googleMaps: typeof googleMaps !== "undefined" ? googleMaps : null,
onLoad: function () {
var dynaformname = document.createElement("input"),
appuid,