diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 550a8fca..4e731527 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -30,6 +30,7 @@ class ApplicationController < ActionController::Base before_filter :set_session_expiration before_filter :set_time_zone + before_filter :set_zindex_counter prepend_before_filter :login_required prepend_before_filter :enable_mobile_content_negotiation after_filter :set_charset @@ -262,5 +263,10 @@ class ApplicationController < ActionController::Base def set_time_zone Time.zone = current_user.prefs.time_zone if logged_in? end + + def set_zindex_counter + # this counter can be used to handle the IE z-index bug + @z_index_counter = 10 + end end diff --git a/app/views/layouts/standard.html.erb b/app/views/layouts/standard.html.erb index 3590c64a..7bc4d623 100644 --- a/app/views/layouts/standard.html.erb +++ b/app/views/layouts/standard.html.erb @@ -26,7 +26,6 @@ href="<%= search_plugin_path %>" />