Skip to content

Commit 979ebb9

Browse files
committed
fixed bug when location was changed, but data in locationNameInput are without changes
1 parent 764a58f commit 979ebb9

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

dist/locationpicker.jquery.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@
209209
}
210210
GmUtility.setPosition(gmapContext, new google.maps.LatLng($(this).val(), gmapContext.location.lng()), function(context) {
211211
context.settings.onchanged.apply(gmapContext.domContainer, [ GmUtility.locationFromLatLng(context.location), context.radius, false ]);
212+
updateInputValues(gmapContext.settings.inputBinding, gmapContext);
212213
});
213214
});
214215
}
@@ -219,6 +220,7 @@
219220
}
220221
GmUtility.setPosition(gmapContext, new google.maps.LatLng(gmapContext.location.lat(), $(this).val()), function(context) {
221222
context.settings.onchanged.apply(gmapContext.domContainer, [ GmUtility.locationFromLatLng(context.location), context.radius, false ]);
223+
updateInputValues(gmapContext.settings.inputBinding, gmapContext);
222224
});
223225
});
224226
}

dist/locationpicker.jquery.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)