sortablelabel-js 0.4 → 0.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: 45d3630a00b1f5ee6383877574702981bae6b08d
4
- data.tar.gz: 3c22746f6e44036b9a264ed2b0472fab806f2911
3
+ metadata.gz: 85e0324fe2f942d834a6efc5c8517b63bd59b147
4
+ data.tar.gz: d071ee6986c32ccd92bb4703fc389d2183f9eb4a
5
5
  SHA512:
6
- metadata.gz: 9a94966a2d30916c07b46378e91be52b221bdc1da8ac864ff1d2d1c4553c729b2598b72e3577dc875ad4a4be09cf8f77ff3616eda3e872c252e4b98642832f9e
7
- data.tar.gz: 1a1af8ebcccef936e778cd8e0dc3a517cef8eb98f54b80b55ba56f95dbd2f52943eacf492bbe1a4404b8dd4cce8916dceb0f3cd46992ede0c4693de7a61e6f90
6
+ metadata.gz: 265e296d18316c74ec4499d62c92ba41a90d3fed7c7103deeba5bec42b855cee087cee557836741255fcc1a6709671cf953a9a5f1d92eb4f0d32356231bd951b
7
+ data.tar.gz: 178da795b612d05fbdce5f7133f4d9078ac86b6b81164d1acbfcac84528e8afeccffd125f30a835457f92e8b46f9b08293ab6f989521e1f2ac911adc863bd4b3
data/README.md CHANGED
@@ -41,7 +41,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/ZYMori
41
41
  #### Step 1
42
42
  Install dependencies lib
43
43
  ```
44
- npm run-script plugin
44
+ npm run-script dependency
45
45
  ```
46
46
 
47
47
  #### Step 2
@@ -1,5 +1,5 @@
1
1
  module Sortablelabel
2
2
  module Js
3
- VERSION = "0.4"
3
+ VERSION = "0.5"
4
4
  end
5
5
  end
@@ -64,7 +64,7 @@ class @SortableLabel
64
64
  $(this).closest('.fields').find(_this.options['positionTarget']).val(stepCount)
65
65
  if typeof(_this.options['label']) == 'string'
66
66
  if _this.options['label'].trim() == 'Day'
67
- $(this).closest('.fields').find(_this.options['labelTarget']).html(_this.dayOfWeek(stepCount))
67
+ $(this).closest('.fields').find(_this.options['labelTarget']).html(_this.dayOfWeek(stepCount - 1))
68
68
  stepCount += 1
69
69
  else
70
70
  if _this.options['fieldName']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sortablelabel-js
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe