diff options
-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 |