hydra-batch-edit 0.3.0 → 0.3.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: 041fb6c8cbceea532367e5b77b7283243abb98f2
4
- data.tar.gz: 21100df59111000878aee65687e56d9bd6bde753
3
+ metadata.gz: 9aa49936aaad686723f8044b5fe5db62f0c20313
4
+ data.tar.gz: c1507a0f65638c70ee9a422c41bf07a860465d23
5
5
  SHA512:
6
- metadata.gz: ab5feb6defd561b0e8224d98253ce8a15c62bb05a8a586294515215195a484a70dff7df0082435ca88b381964259e07cb613e3ba5873d8432c6fbdf840090b96
7
- data.tar.gz: ffe4e1e1e4689578978802ddc210675e1c3492df589d2e9f54f524e6c0a613b89f904d82d740f70a5e1b1b78343ebee98e0ae3fdfdea12bc0089e6cc4fdadefa
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)
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module BatchEdit
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
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.0
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-09 00:00:00.000000000 Z
12
+ date: 2013-04-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: blacklight