egov_utils 0.1.36 → 0.1.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/egov_utils/file_uid.coffee +7 -2
- data/lib/egov_utils/fileuid.rb +2 -2
- data/lib/egov_utils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e8d0fbd9213c1a72766c4051bd1ae95a113d37dabe8fbec63e6c99c7cb375b6
|
4
|
+
data.tar.gz: 0b1ab4b993e1b0ebfa4abc19a15af8080771e9b55e6561a07b627dc0c180f90f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1b649500df057474548fee95ec35bfc87062c89322b2bc220a2165b1722428c503df8c36e4ecb80ee556e4d84fc4dda9fac0feadb8a84dd6848a6b7c442621b
|
7
|
+
data.tar.gz: f6ae27ac1abbab33ec27387dcfa769c4b2a9bf198b9cf12be4b20017719996f3a8c5e453d71f1c8ef4c1265deb0cc2d998572d688e7e9996922198acf328954f
|
@@ -17,12 +17,17 @@ $.widget 'egov_utils.fileUid',
|
|
17
17
|
@element.attr('tabindex', -1)
|
18
18
|
|
19
19
|
@form = @element.closest('form')
|
20
|
-
@form.on 'submit', (evt)->
|
21
|
-
|
20
|
+
# @form.on 'submit', (evt)->
|
21
|
+
# that.element.val(that.getValue())
|
22
22
|
|
23
23
|
if @element.val() != ''
|
24
24
|
this.setValue( @element.val() )
|
25
25
|
|
26
|
+
@file_uid_gui.on 'change', ':input', (evt)->
|
27
|
+
evt.stopPropagation();
|
28
|
+
that.element.val( that.getValue() )
|
29
|
+
that.element.trigger('change')
|
30
|
+
|
26
31
|
_destroy: ()->
|
27
32
|
@element.attr('style', '')
|
28
33
|
@element.insertAfter(@container)
|
data/lib/egov_utils/fileuid.rb
CHANGED
@@ -103,7 +103,7 @@ module EgovUtils
|
|
103
103
|
raise ::ActiveRecord::SerializationTypeMismatch,
|
104
104
|
"Attribute was supposed to be a #{self}, but was a #{obj.class}. -- #{obj.inspect}"
|
105
105
|
end
|
106
|
-
obj.
|
106
|
+
obj.to_s
|
107
107
|
end
|
108
108
|
|
109
109
|
def load(source)
|
@@ -162,7 +162,7 @@ module EgovUtils
|
|
162
162
|
|
163
163
|
def to_s
|
164
164
|
if invalid?
|
165
|
-
|
165
|
+
@str_val.to_s
|
166
166
|
else
|
167
167
|
type_definition.file_uid_to_s(self)
|
168
168
|
end
|
data/lib/egov_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egov_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|