Merged in bugfix/FBI-2533 (pull request #6678)

FBI-2533

Approved-by: Fabio Guachalla <fabio.guachalla@processmaker.com>
Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Rodrigo Quelca
2018-10-30 20:03:57 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 3 additions and 3 deletions

View File

@@ -1039,7 +1039,7 @@ class PmDynaform
},
token: credentials,
submitRest: false,
googleMaps: googleMaps
googleMaps: typeof googleMaps !== 'undefined' ? googleMaps : null
});
$(document).find(\"form\").submit(function (e) {
e.preventDefault();
@@ -1101,7 +1101,7 @@ class PmDynaform
" },\n" .
" token: credentials,\n" .
" submitRest: false,\n" .
" googleMaps: googleMaps\n" .
" googleMaps: typeof googleMaps !== 'undefined' ? googleMaps : null\n" .
" });\n" .
" $(document).find('form').find('button').on('click', function (e) {\n" .
" e.preventDefault();\n" .

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,