bcms_polling 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -31,8 +31,10 @@ function showResults(id, add_return_link) {
31
31
 
32
32
  $(document).ready(function() {
33
33
  $('a.vote-this').click(function(eventObject) {
34
- $.put(eventObject.target);
35
- showResults($(this).attr('data-poll-id'), false);
34
+ var link = this;
35
+ $.put(eventObject.target, function(){
36
+ showResults($(link).attr('data-poll-id'), false);
37
+ });
36
38
  return false;
37
39
  });
38
40
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcms_polling
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - BrowserMedia