* finish task #4166.

This commit is contained in:
wangyidong
2018-05-18 13:18:40 +08:00
parent 5704ec43a0
commit dc4de1a658
3 changed files with 2 additions and 28 deletions
+1 -1
View File
@@ -2408,7 +2408,7 @@ class bugModel extends model
if($id == 'title')
{
$class .= ' text-left';
$title = "title='{$bug->title}";
$title = "title='{$bug->title}'";
}
if($id == 'assignedTo')
{
+1 -2
View File
@@ -12,7 +12,6 @@
?>
<?php
include '../../common/view/header.html.php';
include '../../common/view/form.html.php';
include '../../common/view/kindeditor.html.php';
include '../../common/view/datepicker.html.php';
js::set('holders', $lang->bug->placeholder);
@@ -31,7 +30,7 @@ js::set('confirmDeleteTemplate', $lang->bug->confirmDeleteTemplate);
<?php include '../../common/view/customfield.html.php';?>
</div>
</div>
<form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform' data-type='ajax'>
<form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
<table class="table table-form">
<tbody>
<tr>
-25
View File
@@ -176,31 +176,6 @@ $(document).ready(function()
$(window).resize();
/* First unbind ajaxForm for form.*/
$("form[data-type='ajax']").unbind('submit');
/* Bind ajaxForm for form again. */
$('.form-ajax').ajaxForm(
{
finish:function(response)
{
if(response.message) alert(response.message);
if(response.locate)
{
if(response.locate == 'reload' && response.target == 'parent')
{
parent.$.cookie('selfClose', 1);
parent.$.closeModal(null, 'this');
}
else
{
location.href = response.locate;
}
}
return false;
}
});
/* show team menu. */
$('[name^=multiple]').change(function()
{