hydra-batch-edit 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/batch_edit.js.coffee +3 -0
- data/lib/hydra/batch_edit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9aa49936aaad686723f8044b5fe5db62f0c20313
|
|
4
|
+
data.tar.gz: c1507a0f65638c70ee9a422c41bf07a860465d23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfe58a72a8093bb93f69916241586d9acab16909b7297cae386ad55ad2a9305a925bf11391824b9d2099efde6ee9cdc83ca0285859dbc5c87d7b0d1d202d2ffe
|
|
7
|
+
data.tar.gz: f20aa72493270f7c1a3a0ce9944e73869d09f12f156f04208b73ff487edb4bdbc48735aa0e8cb8768d7c84b3c0264f69bdefd054a22bcc13cf926b9dd62024cb
|
|
@@ -57,6 +57,9 @@ $.fn.batchEdit = (args) ->
|
|
|
57
57
|
update_state_for(checkbox, checked, label, form)
|
|
58
58
|
form.append(label)
|
|
59
59
|
|
|
60
|
+
#allow the user to bind some actions to the check box after it has been updated
|
|
61
|
+
args.afterCheckboxUpdate(checkbox) if args.afterCheckboxUpdate
|
|
62
|
+
|
|
60
63
|
# TODO make this into a new method
|
|
61
64
|
checkbox.bind 'click', ->
|
|
62
65
|
cb = $(this)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hydra-batch-edit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-04-
|
|
12
|
+
date: 2013-04-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: blacklight
|