thecore_ui_partial_snippets 1.2.1 → 1.3.0

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
  SHA256:
3
- metadata.gz: dbb5b43ea8e183a793c8661458d2606e3ca13ccd7566ccb79be0c673b260f869
4
- data.tar.gz: 7e373328ab48b9b33822271673a8148166f2cd2069aac2d29f620b45e6b14526
3
+ metadata.gz: 06f5f78e396b52b009b5f1b6d0454abd99933b89ee2d2ed02e5afc8814b65cf8
4
+ data.tar.gz: 93278d818be9fc22301a5b6f7781820c090fc86ccf23662f33c4bd8305b06ace
5
5
  SHA512:
6
- metadata.gz: de825b2f09f22a611c4b975e1fdb7b0ea413beb73d5da377c79507cae53844bf02db14743883229e4daae8b784c47f5a53353409faffb3cc0b7d800416a8e0c5
7
- data.tar.gz: bc3abc857a2f2e7be603c968a459fe3f0a6a1b8eea9e274f681a7c611d924a5a3d03187cd89d5aeaa5e94103886f9675c5afc17158d306f463068c96ab7e810d
6
+ metadata.gz: cd5483974e27f764ee178ec470712c10e7769749e1466058e0cba3e40268fb194d1d6ca25966b3c74c559f81ca6c65a77b3c1ed2ceb5a973ff2a5e863aebe490
7
+ data.tar.gz: 1ef9bd4c64294e1a7286277b1f92ab587e7e125dd8dd003264574d1edc1bb9adda04e416b8542ebabb61c517dcfda43ed9720ab37e9d2c08cdbcbbfb9a2638ec
@@ -73,7 +73,10 @@
73
73
  type: 'POST',
74
74
  success: function () {
75
75
  fileupload.beforeSuccess();
76
- $("#<%=target%>-upload-drop-zone-feedback").html($("<span><%=I18n.t :upload_ok%></span>").delay(3000).fadeOut(400));
76
+ $("#<%=target%>-upload-drop-zone-feedback").html($('<i class="fa fa-check-square-o" aria-hidden="true"></i>').delay(3000).fadeOut(400));
77
+ },
78
+ error: function () {
79
+ $("#<%=target%>-upload-drop-zone-feedback").html($('<i class="fa fa-exclamation-circle" aria-hidden="true"></i>').delay(3000).fadeOut(400));
77
80
  }
78
81
  });
79
82
  // startUpload(e.dataTransfer.files)
@@ -1,3 +1,3 @@
1
1
  module ThecoreUiPartialSnippets
2
- VERSION = '1.2.1'.freeze
2
+ VERSION = '1.3.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_partial_snippets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-09 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore