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