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: 4e2ffc4b2c7042e507d468620e3fdf148707eb64
4
- data.tar.gz: ff3a81a5c9f2ba780c3cc0ccac92e3b6152a1deb
3
+ metadata.gz: 41d0e6fa2676acd6edbfda6ab85053d5ddf646e4
4
+ data.tar.gz: 7b4570172b9f0dfe9f56ed27d97719aba6406bdf
5
5
  SHA512:
6
- metadata.gz: 9f81f9bfb2cb4b3c3c72b574d1303106c634a423bba8209f2b244e5c04ec3a477cfe524c13b01c40ea75aeef0d003317a45094e7b4b99a363b3db2854fad07d5
7
- data.tar.gz: f88ff5fcbbb7bb21b888b1dad8fe87409d0446261365283690699a3c7afdbbe8b4af791df7e2bf8865c80e77ecf87bea84281ed412f46600fd78ccbd2640b59e
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
+ ]
@@ -2,7 +2,7 @@ module TypeStation
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 4
5
+ TINY = 5
6
6
  PRE = nil
7
7
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
8
8
  end
@@ -1 +1 @@
1
- 7
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
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-28 00:00:00.000000000 Z
11
+ date: 2016-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails