my-feedback-form 0.0.3 → 0.0.4

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.
data/README.md CHANGED
@@ -30,7 +30,7 @@ Also add in your layout the feedback modal. You may want to add a condition to i
30
30
 
31
31
  ```erb
32
32
  <% if user_signed_in? %>
33
- <%= render 'my_feedback_form/feedbacks/new' %>
33
+ <%= render 'my_feedback_form/feedbacks/modal' %>
34
34
  <% end %>
35
35
  ```
36
36
 
@@ -3,7 +3,7 @@ $('document').ready(function() {
3
3
  $('#new_feedback').remove();
4
4
  });
5
5
 
6
- $("#feedback-button").live('click', function (e){
6
+ $("#feedback-button").bind('click', function (e){
7
7
  e.preventDefault
8
8
  form = $('#new_feedback');
9
9
  $.get('/my_feedback_form/feedbacks/new', function(s) {
@@ -12,7 +12,7 @@ $('document').ready(function() {
12
12
  });
13
13
  });
14
14
 
15
- $('#send-feedback').live('click', function (e) {
15
+ $('#send-feedback').bind('click', function (e) {
16
16
  $('#new_feedback').submit();
17
17
  });
18
18
  });
@@ -1,3 +1,3 @@
1
1
  module MyFeedbackForm
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my-feedback-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-01 00:00:00.000000000 Z
12
+ date: 2013-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails