geocomplete_rails 1.5.0 → 1.5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/geocomplete.js +2 -2
- data/lib/geocomplete_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43b92e73bf0f5cfb17e00e1a4f75de6128c5ea8f
|
|
4
|
+
data.tar.gz: bda6054004784ca677129256971b7b12dd94ec05
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24f50672c48cbcce31ebc739592884ac51fff5a8bbcfc2f7c557a4cf01c997e5d5c674f6239930150b04b9de157ea7ff481a09c8543fa76fc23f7b63d3349a33
|
|
7
|
+
data.tar.gz: 02c04cc0e9769475c7c9e4ef8b00ac42878856bc236babfbcbd30f35626e47beb0d700f4b94b7d8c494281e37dc9678825ced0744416f175af25092e3eec2e58
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
placeChanged: function(){
|
|
448
448
|
var place = this.autocomplete.getPlace();
|
|
449
449
|
|
|
450
|
-
if (!place.geometry){
|
|
450
|
+
if (!place || !place.geometry){
|
|
451
451
|
if (this.options.autoselect) {
|
|
452
452
|
// Automatically selects the highlighted item or the first item from the
|
|
453
453
|
// suggestions list.
|
|
@@ -497,4 +497,4 @@
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
})( jQuery, window, document );
|
|
500
|
+
})( jQuery, window, document );
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: geocomplete_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.0
|
|
4
|
+
version: 1.5.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Guy Israeli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|