JQuery Datepicker popup is missing multiple month/year modifiers (#13260).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11663 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
064bb49b55
commit
6bc4a110e4
|
@ -1076,7 +1076,7 @@ module ApplicationHelper
|
|||
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " +
|
||||
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
||||
path_to_image('/images/calendar.png') +
|
||||
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};")
|
||||
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true, changeMonth: true, changeYear: true};")
|
||||
jquery_locale = l('jquery.locale', :default => current_language.to_s)
|
||||
unless jquery_locale == 'en'
|
||||
tags << javascript_include_tag("i18n/jquery.ui.datepicker-#{jquery_locale}.js")
|
||||
|
|
|
@ -1037,6 +1037,10 @@ h2 img { vertical-align:middle; }
|
|||
|
||||
.hascontextmenu { cursor: context-menu; }
|
||||
|
||||
/* Custom JQuery styles */
|
||||
.ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}
|
||||
|
||||
|
||||
/************* CodeRay styles *************/
|
||||
.syntaxhl div {display: inline;}
|
||||
.syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;}
|
||||
|
|
Loading…
Reference in New Issue