diff options
author | Philip Arndt <git@arndt.io> | 2014-11-04 17:21:31 -0500 |
---|---|---|
committer | Philip Arndt <git@arndt.io> | 2014-11-04 17:21:31 -0500 |
commit | 0cc097bb89108340cbc14835709996617d721856 (patch) | |
tree | 18ebe98a918407114929469203f7c47dbef4680f | |
parent | ee2e64431dc8ca0b679ef20ce4b507d55f22aa84 (diff) | |
download | refinerycms-blog-0cc097bb89108340cbc14835709996617d721856.tar.gz refinerycms-blog-0cc097bb89108340cbc14835709996617d721856.tar.bz2 refinerycms-blog-0cc097bb89108340cbc14835709996617d721856.zip |
The backend needs to require jquery-ui/autocomplete since refinery/refinerycms#2735
-rw-r--r-- | app/assets/javascripts/refinery/blog/backend.js | 2 | ||||
-rw-r--r-- | lib/refinery/blog.rb | 1 | ||||
-rw-r--r-- | refinerycms-blog.gemspec | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/refinery/blog/backend.js b/app/assets/javascripts/refinery/blog/backend.js index d4869c1..4d4b274 100644 --- a/app/assets/javascripts/refinery/blog/backend.js +++ b/app/assets/javascripts/refinery/blog/backend.js @@ -1,3 +1,5 @@ +//= require jquery-ui/autocomplete + $(document).ready(function(){ $('nav#actions.multilist > ul:not(.search_list) li a[href$="' + window.location.pathname + '"]') .parent().addClass('selected'); diff --git a/lib/refinery/blog.rb b/lib/refinery/blog.rb index 40ecdd6..604d0b1 100644 --- a/lib/refinery/blog.rb +++ b/lib/refinery/blog.rb @@ -4,6 +4,7 @@ require 'refinerycms-wymeditor' require 'filters_spam' require 'rails_autolink' require 'friendly_id' +require 'jquery-ui-rails' module Refinery autoload :BlogGenerator, 'generators/refinery/blog/blog_generator' diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec index 135ae4a..2d99591 100644 --- a/refinerycms-blog.gemspec +++ b/refinerycms-blog.gemspec @@ -24,4 +24,5 @@ Gem::Specification.new do |s| s.add_dependency 'rails_autolink', '~> 1.1.3' s.add_dependency 'friendly_id', '~> 5.0.0' s.add_dependency 'globalize', '~> 4.0.0' + s.add_dependency 'jquery-ui-rails', '~> 5.0.0' end |