recordselect 3.4.9 → 3.4.10
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/jquery/record_select.js +5 -1
- data/lib/record_select/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df5882fed3fec76046c9084bb4a5c238d5a753d7
|
|
4
|
+
data.tar.gz: 56c0c099130a14ee7092fc2fb9ac5b3871f85e23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21aac4ee95be593d190218d8f390f8925502a685a2179e690fc42ea662a7f15901297cf981d40d59d9a13ba2379622a4a562bfced4f526599a67222962d75486
|
|
7
|
+
data.tar.gz: dbb439ccb4622c000875f0ac5a00ac9233c19e4bd022badfa631f7bd396022643b277c83462e9e5ff473dc8305747c67819bc22e54dfa3dea2be8d13a65a466f
|
|
@@ -251,7 +251,11 @@ RecordSelect.Abstract = Class.extend({
|
|
|
251
251
|
else position = above_space < below_space ? 'top' : 'bottom';
|
|
252
252
|
} else position = 'top';
|
|
253
253
|
if (position == 'top') this.container.css('top', top);
|
|
254
|
-
else
|
|
254
|
+
else {
|
|
255
|
+
var bottom = document_height - offset.top, body_height = $(document.body).height();
|
|
256
|
+
if (body_height < document_height) bottom -= document_height - body_height;
|
|
257
|
+
this.container.css('bottom', bottom);
|
|
258
|
+
}
|
|
255
259
|
}
|
|
256
260
|
|
|
257
261
|
if (this._use_iframe_mask()) {
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recordselect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.4.
|
|
4
|
+
version: 3.4.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergio Cambra
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: shoulda
|
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
113
113
|
version: '0'
|
|
114
114
|
requirements: []
|
|
115
115
|
rubyforge_project:
|
|
116
|
-
rubygems_version: 2.
|
|
116
|
+
rubygems_version: 2.5.2
|
|
117
117
|
signing_key:
|
|
118
118
|
specification_version: 4
|
|
119
119
|
summary: RecordSelect widget as a replacement for massive drop down lists
|