e9_attributes 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@ class E9Attributes::MenuOptionsController < Admin::ResourceController
2
2
  include E9Rails::Controllers::Sortable
3
3
  include E9Rails::Helpers::ResourceLinks
4
4
 
5
+ respond_to :js
6
+
5
7
  defaults :resource_class => MenuOption, :route_prefix => nil
6
8
  has_scope :options_for, :as => :key, :only => :index
7
9
 
@@ -0,0 +1,3 @@
1
+ <% if !resource.errors.any? %>
2
+ $("#ids_<%= resource.id %>").fadeOut();
3
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module E9Attributes
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: e9_attributes
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Cox
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-19 00:00:00 -04:00
13
+ date: 2011-08-22 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -38,6 +38,7 @@ files:
38
38
  - app/models/record_attribute.rb
39
39
  - app/views/e9_attributes/menu_options/_form.html.haml
40
40
  - app/views/e9_attributes/menu_options/_table.html.haml
41
+ - app/views/e9_attributes/menu_options/destroy.js.erb
41
42
  - app/views/e9_attributes/menu_options/edit.html.haml
42
43
  - app/views/e9_attributes/menu_options/index.html.haml
43
44
  - app/views/e9_attributes/menu_options/index.js.erb