diff --git a/workflow/engine/classes/PmDynaform.php b/workflow/engine/classes/PmDynaform.php index 309bd9384..f614521d3 100644 --- a/workflow/engine/classes/PmDynaform.php +++ b/workflow/engine/classes/PmDynaform.php @@ -1023,6 +1023,7 @@ class PmDynaform var isRTL = \"" . $this->isRTL . "\"; var pathRTLCss = \"" . $this->pathRTLCss . "\"; var delIndex = " . (isset($this->fields["DEL_INDEX"]) ? $this->fields["DEL_INDEX"] : "0") . "; + " . $this->getTheStringVariableForGoogleMaps() . "\n $(window).load(function () { var data = jsondata; @@ -1037,7 +1038,8 @@ class PmDynaform workspace: workspace }, token: credentials, - submitRest: false + submitRest: false, + googleMaps: googleMaps }); $(document).find(\"form\").submit(function (e) { e.preventDefault(); @@ -1085,6 +1087,7 @@ class PmDynaform "var pathRTLCss = '" . $this->pathRTLCss . "';\n" . "var delIndex = " . (isset($this->fields["DEL_INDEX"]) ? $this->fields["DEL_INDEX"] : "0") . ";\n" . "var leaveCaseWarning = " . $this->getLeaveCaseWarning() . ";\n" . + $this->getTheStringVariableForGoogleMaps() . "\n" . "$(window).load(function () {\n" . " var data = jsondata;\n" . " window.dynaform = new PMDynaform.core.Project({\n" . @@ -1097,7 +1100,8 @@ class PmDynaform " workspace: workspace\n" . " },\n" . " token: credentials,\n" . - " submitRest: false\n" . + " submitRest: false,\n" . + " googleMaps: googleMaps\n" . " });\n" . " $(document).find('form').find('button').on('click', function (e) {\n" . " e.preventDefault();\n" . @@ -1167,6 +1171,7 @@ class PmDynaform "var pathRTLCss = '" . $this->pathRTLCss . "';\n" . "var delIndex = " . (isset($this->fields["DEL_INDEX"]) ? $this->fields["DEL_INDEX"] : "0") . ";\n" . "var leaveCaseWarning = " . $this->getLeaveCaseWarning() . ";\n" . + $this->getTheStringVariableForGoogleMaps() . "\n" . "\n" . "\n" . "\n" . @@ -1224,6 +1229,7 @@ class PmDynaform var pathRTLCss = \"" . $this->pathRTLCss . "\"; var delIndex = " . (isset($this->fields["DEL_INDEX"]) ? $this->fields["DEL_INDEX"] : "0") . "; var leaveCaseWarning = " . $this->getLeaveCaseWarning() . "; + " . $this->getTheStringVariableForGoogleMaps() . " @@ -1268,6 +1274,7 @@ class PmDynaform "var pathRTLCss = '" . $this->pathRTLCss . "';\n" . "var delIndex = " . (isset($this->fields["DEL_INDEX"]) ? $this->fields["DEL_INDEX"] : "0") . ";\n" . "var leaveCaseWarning = " . $this->getLeaveCaseWarning() . ";\n" . + $this->getTheStringVariableForGoogleMaps() . "\n" . "\n" . "\n" . "