spud_core 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ $(document).ready(function() {
41
41
  $(this).removeData('modal');
42
42
  });
43
43
 
44
- $('a.ajax').live('click', function() {
44
+ $('body').on('click', 'a.ajax', function() {
45
45
  var url = this.href;
46
46
  var title = this.title;
47
47
  var dialog = $("#modal_window");
@@ -60,11 +60,10 @@ $(document).ready(function() {
60
60
  });
61
61
 
62
62
 
63
-
64
- $('a[data-method="delete"]').live('ajax:success',
63
+ $('body').on('ajax:success', 'a[data-method="delete"]',
65
64
  function(data, textStatus, jqXHR){
66
65
  $(this).closest('tr').fadeOut();
67
- });
66
+ });
68
67
 
69
68
 
70
69
  $('a.button').button();
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Core
3
- VERSION = "0.9.10"
3
+ VERSION = "0.9.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -626,7 +626,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
626
626
  version: '0'
627
627
  segments:
628
628
  - 0
629
- hash: -4390259333817110656
629
+ hash: -4195162162737131472
630
630
  required_rubygems_version: !ruby/object:Gem::Requirement
631
631
  none: false
632
632
  requirements:
@@ -635,7 +635,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
635
635
  version: '0'
636
636
  segments:
637
637
  - 0
638
- hash: -4390259333817110656
638
+ hash: -4195162162737131472
639
639
  requirements: []
640
640
  rubyforge_project:
641
641
  rubygems_version: 1.8.24