type_station 0.4.4 → 0.4.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41d0e6fa2676acd6edbfda6ab85053d5ddf646e4
|
4
|
+
data.tar.gz: 7b4570172b9f0dfe9f56ed27d97719aba6406bdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e442b142523f2a51883f4b45b98da3777e7ff348b9af18e3eab72bdec6c3b93254f47551a04ed1dba3fc717be334970df184ec13cfca909a1b16b3017b78ee2a
|
7
|
+
data.tar.gz: 8feb892b3b440687d766cce7cbe24ced1d9cf0dc456b94aa585843525db1fac0d4630fa919194c60e017169628f9b6a806960d321364ec99142c619666cec096
|
@@ -187,7 +187,6 @@ checkValue = (value, field) ->
|
|
187
187
|
if field.type == 'multiple_select'
|
188
188
|
testValue value
|
189
189
|
else
|
190
|
-
console.log value.length
|
191
190
|
if value.length > 0
|
192
191
|
if value.length > 1 # seems to be an issue when the text length is around 1 ? :confused:
|
193
192
|
testValue value
|
@@ -41,3 +41,9 @@ class @TypeStation.Model extends @TypeStation.Store
|
|
41
41
|
success: (data) ->
|
42
42
|
self._reset() #reset model to a clean state
|
43
43
|
callback(data)
|
44
|
+
error: (jqxhr, status, err) ->
|
45
|
+
vex.dialog.alert
|
46
|
+
message: "#{window.titleize status}: #{jqxhr.responseJSON.message}"
|
47
|
+
buttons: [
|
48
|
+
$.extend({}, vex.dialog.buttons.YES, text: 'Close')
|
49
|
+
]
|
data/lib/type_station/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
8
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: type_station
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Adams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|