里程碑编辑的时候日历不显示的问题
This commit is contained in:
parent
e39c3cfd9c
commit
6322d18325
|
@ -23,7 +23,7 @@
|
|||
<li class="mb10 clear">
|
||||
<label class=" fl"><span class="c_red f12">*</span> 日期 : </label>
|
||||
<%= f.text_field :effective_date, :size => 10, :readonly => true,:class=>"issues_calendar_input fl", :id => "version_effective_date2", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>
|
||||
<%= calendar_for('version_effective_date2') %>
|
||||
<%#= calendar_for('version_effective_date2') %>
|
||||
<!--<input type="text" placeholder="结束日期" class="issues_calendar_input fl ">-->
|
||||
<!--<a href="" class="issues_data_img fl"></a>-->
|
||||
</li>
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
var htmlvalue = "<%= escape_javascript(render :partial => 'versions/edit') %>";
|
||||
pop_box_new(htmlvalue,820,316);
|
||||
var datepickerOptions={dateFormat: 'yy-mm-dd', firstDay: 0, showOn: 'button', buttonImageOnly: true, buttonImage: '/images/public_icon.png', showButtonPanel: true, showWeek: true, showOtherMonths: true, selectOtherMonths: true};
|
||||
$(function() { $('#version_effective_date2').datepicker(datepickerOptions);
|
||||
// $('#evaluation_end_time').datepicker(datepickerOptions);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue