refinerycms-portfolio 0.9.3.5 → 0.9.3.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ reset_functionality = function() {
13
13
  img_delete = $("<img src='/images/refinery/icons/delete.png' width='16' height='16' />");
14
14
  img_delete.appendTo(image_actions);
15
15
  img_delete.click(function() {
16
- $(this).parent().remove();
16
+ $(this).parents('li[id*=image_]').remove();
17
17
  });
18
18
 
19
19
  image_actions.appendTo($(li));
@@ -3,7 +3,7 @@ Refinery::Plugin.register do |plugin|
3
3
  plugin.title = "Portfolio"
4
4
  plugin.description = "Manage a portfolio"
5
5
  plugin.url = "/admin/#{plugin.title.downcase}"
6
- plugin.version = '0.9.3.5'
6
+ plugin.version = '0.9.3.6'
7
7
  plugin.menu_match = /admin\/portfolio(_entries)?/
8
8
  plugin.activity = {
9
9
  :class => PortfolioEntry,
data/readme.md CHANGED
@@ -23,13 +23,13 @@ Then run:
23
23
  refinerycms-portfolio-install /path/to/your/refinery/application
24
24
 
25
25
  Then place in your config/environment.rb (or config/application.rb for refinery 0.9.6.x) file before all other Refinery gem calls:
26
- config.gem "refinerycms-portfolio", :version => ">= 0.9.3.5", :lib => "portfolio", :source => "http://gemcutter.org"
26
+ config.gem "refinerycms-portfolio", :version => ">= 0.9.3.6", :lib => "portfolio", :source => "http://gemcutter.org"
27
27
 
28
28
  ..and follow the instructions!
29
29
 
30
30
  ### Method Two
31
31
  Place in your config/environment.rb (or config/application.rb for refinery 0.9.6.x) file before all other Refinery gem calls:
32
- config.gem "refinerycms-portfolio", :version => ">= 0.9.3.5", :lib => "portfolio", :source => "http://gemcutter.org"
32
+ config.gem "refinerycms-portfolio", :version => ">= 0.9.3.6", :lib => "portfolio", :source => "http://gemcutter.org"
33
33
 
34
34
  Then run in your application's directory:
35
35
  rake gems:install
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-portfolio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3.5
4
+ version: 0.9.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resolve Digital