diff options
author | dougbradbury <doug@8thlight.com> | 2014-03-10 19:29:01 -0500 |
---|---|---|
committer | dougbradbury <doug@8thlight.com> | 2014-03-10 19:29:01 -0500 |
commit | 6eda4b28a64b983d1cf1ff44b879c3fca5b30f91 (patch) | |
tree | fb2e63ae1b9b6bb5e5f9667f20b571fd6ae4ee7d | |
parent | 346046e37058e39c741b657e4f33dd850e430558 (diff) | |
download | refinerycms-blog-6eda4b28a64b983d1cf1ff44b879c3fca5b30f91.tar.gz refinerycms-blog-6eda4b28a64b983d1cf1ff44b879c3fca5b30f91.tar.bz2 refinerycms-blog-6eda4b28a64b983d1cf1ff44b879c3fca5b30f91.zip |
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 |