解决里程碑新建里程碑的时候弹窗不显示日历
This commit is contained in:
parent
919e973efb
commit
e39c3cfd9c
|
@ -22,8 +22,8 @@
|
|||
</li>
|
||||
<li class="mb10 clear">
|
||||
<label class=" fl ml5"> 日期 : </label>
|
||||
<%= f.text_field :effective_date, :size => 10, :readonly => true, :class => "issues_calendar_input fl ml3", :id => "version_name", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>
|
||||
<%= calendar_for('version_name') %>
|
||||
<%= f.text_field :effective_date, :size => 10, :readonly => true, :class => "issues_calendar_input fl ml3", :id => "version_index_create_name", :placeholder=>"结束日期", :style=>"height:28px;", :no_label => true %>
|
||||
<%#= calendar_for('version_index_create_name') %>
|
||||
</li>
|
||||
<li class="mb10 clear">
|
||||
<label class="ml5"> 状态 : </label>
|
||||
|
@ -44,8 +44,8 @@
|
|||
{
|
||||
if(popub_regex_version_name())
|
||||
{
|
||||
hideModal();
|
||||
$("#popub_new_project_version_form").submit();
|
||||
hideModal();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
var htmlvalue = "<%= escape_javascript(render :partial => 'versions/new_milestone') %>";
|
||||
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_index_create_name').datepicker(datepickerOptions);
|
||||
// $('#evaluation_end_time').datepicker(datepickerOptions);
|
||||
});
|
Loading…
Reference in New Issue