hallo_rails 0.1.2 → 0.1.3

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.
@@ -1,3 +1,3 @@
1
1
  module HalloRails
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -19,6 +19,8 @@ init = ->
19
19
  options = $el.data('editable-options') || context.default_options
20
20
  $.extend options, { plugins: plugins }
21
21
  $el.hallo options
22
+ $el.click ->
23
+ $(this).focus() # required for firefox as otherwise when clicking on edit overlay element doesn't focus
22
24
 
23
25
  $('body').on "hallodeactivated", '.editable', ->
24
26
  $el = $(this)
@@ -59,7 +59,7 @@
59
59
  content: "Speichern..."; /* "Saving..." Modify to your language */
60
60
  }
61
61
 
62
- .editable.inEditMode:hover:before{
62
+ .editable.inEditMode:hover:before{ /* this works in chrome, but not FF */
63
63
  display: none;
64
64
  }
65
65
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hallo_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  segments:
62
62
  - 0
63
- hash: 18046216043060979
63
+ hash: 3600539736723648738
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  version: '0'
70
70
  segments:
71
71
  - 0
72
- hash: 18046216043060979
72
+ hash: 3600539736723648738
73
73
  requirements: []
74
74
  rubyforge_project:
75
75
  rubygems_version: 1.8.24