* finish task #4166.
This commit is contained in:
@@ -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')
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user