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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user