From ddc78d52ed022414a9bd3d75df9c2de87455c04f Mon Sep 17 00:00:00 2001 From: Christian Ratz Date: Wed, 3 Apr 2013 09:48:50 +0200 Subject: [PATCH] enable the calendar widget in modal window - add calendar widget js for backlogs#show - calendar is always on top via z-index - it is now possible to use the calendar widget for custom fields from type date in the modal --- app/views/rb_master_backlogs/show.html.erb | 2 ++ assets/stylesheets/master_backlog.css | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/app/views/rb_master_backlogs/show.html.erb b/app/views/rb_master_backlogs/show.html.erb index bb27523ee2..14595a82dc 100644 --- a/app/views/rb_master_backlogs/show.html.erb +++ b/app/views/rb_master_backlogs/show.html.erb @@ -42,3 +42,5 @@
<%= date_string_with_milliseconds(@last_update, 0.001) %>
+<% #include calendar js files in case they are needed for edit + include_calendar_headers_tags -%> diff --git a/assets/stylesheets/master_backlog.css b/assets/stylesheets/master_backlog.css index 866b1dccda..3aafd9faa2 100644 --- a/assets/stylesheets/master_backlog.css +++ b/assets/stylesheets/master_backlog.css @@ -314,3 +314,7 @@ .controller-rb_master_backlogs.action-show #main, .controller-rb_master_backlogs.action-show #content, .controller-rb_master_backlogs.action-show #rb #backlogs_container .backlog .stories {overflow: visible;} + +.controller-rb_master_backlogs.action-show div.calendar { + z-index: 10000; +}