wcc-styles 3.0.0.beta5 → 3.0.0.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/javascripts/wcc/styles/tessa.coffee +6 -3
- data/lib/wcc/styles/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: faef8746b2af1990f13893c0f368720efc8042f6
|
4
|
+
data.tar.gz: dc8520382c1b2e8a96a70738706a6711b55e5776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddac9890878f1e399f3d9edf2240c796954fb73a4a3201e09aaf07c0ca3430efb06377ea730e7b37f3aa095595ee24cea957e36627d8a74eb4cf499671981eb1
|
7
|
+
data.tar.gz: 30b50181e3faa6f6ef4c367be02b045b9f78a844fa1da33075d2e85ef68032b78c603cc670e7d19aead4af410411834e2f22d27f60946669baab6d8ecb4b4ab1
|
@@ -116,8 +116,9 @@ WCC.Dropzone.prototype.defaultOptions.accept = (file, done) ->
|
|
116
116
|
error: (response) ->
|
117
117
|
done("Failed to initiate the upload process!")
|
118
118
|
|
119
|
-
|
120
|
-
|
119
|
+
window.WCC.tessaInit = (sel) ->
|
120
|
+
sel = sel || 'form:has(.tessa-upload)'
|
121
|
+
$(sel).each (i, form) ->
|
121
122
|
$form = $(form)
|
122
123
|
$form.bind 'submit', (event) ->
|
123
124
|
safeToSubmit = true
|
@@ -128,7 +129,7 @@ $ ->
|
|
128
129
|
if not safeToSubmit and not confirm(WCC.Dropzone.uploadPendingWarning)
|
129
130
|
return false
|
130
131
|
|
131
|
-
$('.tessa-upload').each (i, item) ->
|
132
|
+
$('.tessa-upload', sel).each (i, item) ->
|
132
133
|
$item = $(item)
|
133
134
|
args =
|
134
135
|
maxFiles: 1
|
@@ -171,3 +172,5 @@ $ ->
|
|
171
172
|
updateAction(file)
|
172
173
|
|
173
174
|
|
175
|
+
$ ->
|
176
|
+
window.WCC.tessaInit()
|
data/lib/wcc/styles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-styles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0.
|
4
|
+
version: 3.0.0.beta6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Community Church
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-rails
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: 1.3.1
|
142
142
|
requirements: []
|
143
143
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.6.11
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: This gem holds the styles for Watermark's application patterns
|