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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a3bd2bf9552044a74f0d0b451809081002197e7
4
- data.tar.gz: ac51b4b7ed01f8fd880130797b0672a65882534a
3
+ metadata.gz: ff064113668b46f7504e1651bdb503ae8f909314
4
+ data.tar.gz: 361d5bcb1a36aaa98371c414d736e8fc27aa7595
5
5
  SHA512:
6
- metadata.gz: 8321d3d905a7199f22c48e004723cd00d10c3c49dc1e4b8c96544f6c5a3c864407e16cadd396d0218e1b7fb45ec2623d64e50a2ad08bbc2eae5af87839964bbb
7
- data.tar.gz: 7f030fe445319575c05576a11dcbab8619eae3cf6e025f069963522d34399e2e866fa8f0457d09aa3ca29e03cdd0286acd8fb1e4ab87a8e961dee9acda94d6c6
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]);
@@ -1,3 +1,3 @@
1
1
  module KonoUtils
2
- VERSION = '0.15.14'
2
+ VERSION = '0.15.15'
3
3
  end
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.14
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-04 00:00:00.000000000 Z
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.6.14
378
+ rubygems_version: 2.4.8
379
379
  signing_key:
380
380
  specification_version: 4
381
381
  summary: Kono Utilities