|
|
@ -1491,7 +1491,7 @@ module ApplicationHelper
|
|
|
|
tags = javascript_tag(
|
|
|
|
tags = javascript_tag(
|
|
|
|
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " +
|
|
|
|
"var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: #{start_of_week}, " +
|
|
|
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
|
|
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
|
|
|
path_to_image('/images/calendar.png') +
|
|
|
|
path_to_image('/images/public_icon.png') +
|
|
|
|
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};")
|
|
|
|
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};")
|
|
|
|
jquery_locale = l('jquery.locale', :default => current_language.to_s)
|
|
|
|
jquery_locale = l('jquery.locale', :default => current_language.to_s)
|
|
|
|
unless jquery_locale == 'en'
|
|
|
|
unless jquery_locale == 'en'
|
|
|
@ -1513,7 +1513,7 @@ module ApplicationHelper
|
|
|
|
tags = javascript_tag(
|
|
|
|
tags = javascript_tag(
|
|
|
|
"var datepickerOptions={dateFormat: 'yy-mm-dd',minDate: new Date(), firstDay: #{start_of_week}, " +
|
|
|
|
"var datepickerOptions={dateFormat: 'yy-mm-dd',minDate: new Date(), firstDay: #{start_of_week}, " +
|
|
|
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
|
|
|
"showOn: 'button', buttonImageOnly: true, buttonImage: '" +
|
|
|
|
path_to_image('/images/calendar.png') +
|
|
|
|
path_to_image('/images/public_icon.png') +
|
|
|
|
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true, onClose: function(dateText, inst) {TimeClose(dateText,inst);}, beforeShow : function(input){TimeBeforeShow(input);} };")
|
|
|
|
"', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true, onClose: function(dateText, inst) {TimeClose(dateText,inst);}, beforeShow : function(input){TimeBeforeShow(input);} };")
|
|
|
|
jquery_locale = l('jquery.locale', :default => current_language.to_s)
|
|
|
|
jquery_locale = l('jquery.locale', :default => current_language.to_s)
|
|
|
|
unless jquery_locale == 'en'
|
|
|
|
unless jquery_locale == 'en'
|
|
|
|