sortablelabel-js 1.0 → 1.1
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: 9c8988a5febbb6a36eef8f2abb7147e41b128e89
|
4
|
+
data.tar.gz: eaba667569867cd97aeeee6f232c8b7191825f5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e1dd6a2b5f72f3687c0d872d2d7c9d73f71440e70dad22c6c598fc81ea781dc0d074579538e1d4d1622a81a47af2c4aedce3f7735aa0e2512d4399f6ca0f65e
|
7
|
+
data.tar.gz: c5c8ad24134d2620a74f15bb678b099d110dbbb368ed81b4bd5028e2eaa799a3092e41c00fb41c5fe99976919e9b2b2fd2412c6f65eb53ebc1eba16ce2ad08d4
|
@@ -13,7 +13,7 @@ class @SortableLabel
|
|
13
13
|
@options = $.extend({}, defaults, options)
|
14
14
|
@target = scope
|
15
15
|
@targetId = @options['fieldName'] || @target.attr('id')
|
16
|
-
@
|
16
|
+
@stop_callback = @options["stop"]
|
17
17
|
@calInitStepLable()
|
18
18
|
|
19
19
|
$(document).on("nested:fieldAdded:#{@targetId}", (event) =>
|
@@ -82,8 +82,8 @@ class @SortableLabel
|
|
82
82
|
stepCount += 1
|
83
83
|
)
|
84
84
|
)
|
85
|
-
if typeof(@
|
86
|
-
@
|
85
|
+
if typeof(@stop_callback) == 'function'
|
86
|
+
@stop_callback();
|
87
87
|
|
88
88
|
calWeekGroupLabel: (target) ->
|
89
89
|
_this = this
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sortablelabel-js
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.1'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|