diff options
author | Philip Arndt <p@arndt.io> | 2014-08-25 06:59:30 +0200 |
---|---|---|
committer | Philip Arndt <p@arndt.io> | 2014-08-25 06:59:30 +0200 |
commit | f167ddee3d18d24d8c5d28cc4bbb6f46b19f9785 (patch) | |
tree | 119c22436b17b7814e36d8648aa60da4e141d82f | |
parent | f3648e953339fc95cf33a6680c5f9ba831c5ca19 (diff) | |
parent | 6eda4b28a64b983d1cf1ff44b879c3fca5b30f91 (diff) | |
download | refinerycms-blog-f167ddee3d18d24d8c5d28cc4bbb6f46b19f9785.tar.gz refinerycms-blog-f167ddee3d18d24d8c5d28cc4bbb6f46b19f9785.tar.bz2 refinerycms-blog-f167ddee3d18d24d8c5d28cc4bbb6f46b19f9785.zip |
Merge pull request #370 from dougbradbury/2-1-stable2-1-stable
restore tag autocomplete
-rw-r--r-- | app/assets/javascripts/refinery/blog/backend.js.erb (renamed from app/assets/javascripts/refinery/blog/backend.js) | 4 | ||||
-rwxr-xr-x | app/assets/stylesheets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.scss | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/refinery/blog/backend.js b/app/assets/javascripts/refinery/blog/backend.js.erb index 77529c5..5add3db 100644 --- a/app/assets/javascripts/refinery/blog/backend.js +++ b/app/assets/javascripts/refinery/blog/backend.js.erb @@ -79,13 +79,13 @@ $(document).ready(function(){ page_options.init(false, '', '') - $('<%= dom_id %>').bind( "keydown", function( event ) { + $('#post_tag_list').bind( "keydown", function( event ) { if ( event.keyCode === $.ui.keyCode.TAB && $( this ).data( "autocomplete" ).menu.active ) { event.preventDefault() } }).autocomplete({ source: function( request, response ) { - $.getJSON( "<%= url %>", { + $.getJSON( "<%= Refinery::Core::Engine.routes.url_helpers.tags_blog_admin_posts_path %>", { term: extractLast( request.term ) }, response ); }, diff --git a/app/assets/stylesheets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.scss b/app/assets/stylesheets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.scss index f9a1401..04ae033 100755 --- a/app/assets/stylesheets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.scss +++ b/app/assets/stylesheets/refinery/blog/ui-lightness/jquery-ui-1.8.13.custom.css.scss @@ -25,6 +25,8 @@ /* Interaction Cues ----------------------------------*/ .ui-state-disabled { cursor: default !important; } +#ui-active-menuitem { background-color:#62bef2 } +.ui-menu-item:hover { background-color:#62bef2 } /* Icons |