kono_utils 0.15.14 → 0.15.15
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/kono_utils/utilities.coffee +11 -0
- data/lib/kono_utils/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: ff064113668b46f7504e1651bdb503ae8f909314
|
4
|
+
data.tar.gz: 361d5bcb1a36aaa98371c414d736e8fc27aa7595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f05be12fb1dccedcca3ca8fbb9e4889c71d6768d1438eacecc37a4d9a44461fdca88ead73513a7fd35da5749f2f9cb3a946f472f1d6818b5d76f800953f659
|
7
|
+
data.tar.gz: ef3990575b03a918549b49ad75883b72811acb7f78a720522ef5d08d85986051fe7ee6f20bb8deb8980604782e6f7a85e7f036addaa48a73e12d7cffb936fd61
|
@@ -237,6 +237,17 @@ $.fn.extend
|
|
237
237
|
$(@).attr('name', name)
|
238
238
|
$(@).removeAttr('disabled')
|
239
239
|
|
240
|
+
datapicker_containers= $(row).find(".tk_date_time_picker")
|
241
|
+
$(datapicker_containers).each (index,val) =>
|
242
|
+
new_id= $(val).attr("id").concat( new Date().getTime())
|
243
|
+
$(val).attr("id",new_id)
|
244
|
+
|
245
|
+
script = $(val).siblings("script")[0]
|
246
|
+
script_text = $(script).text();
|
247
|
+
new_script_text = script_text.replace(/'#.*'/,"'#"+new_id+"'")
|
248
|
+
script_parent= $(script).parent()
|
249
|
+
$(script).replaceWith('<script type=\'text/javascript\'>'+new_script_text+'</script>');
|
250
|
+
|
240
251
|
row.appendTo($(@).closest('tbody'))
|
241
252
|
elaborate_buttons(tabella)
|
242
253
|
$(tabella).trigger("row_append", [tabella, row]);
|
data/lib/kono_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kono_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -375,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
375
375
|
version: '0'
|
376
376
|
requirements: []
|
377
377
|
rubyforge_project:
|
378
|
-
rubygems_version: 2.
|
378
|
+
rubygems_version: 2.4.8
|
379
379
|
signing_key:
|
380
380
|
specification_version: 4
|
381
381
|
summary: Kono Utilities
|