Issue #64 - After editing a qso and submitting if no errors it closes box
这个提交包含在:
父节点
1a57e4923f
当前提交
d610e3119a
共有 3 个文件被更改,包括 18 次插入 和 3 次删除
|
|
@ -86,7 +86,7 @@ class QSO extends CI_Controller {
|
|||
{
|
||||
$this->logbook_model->edit();
|
||||
$this->session->set_flashdata('notice', 'Record Updated');
|
||||
redirect('qso/edit/'.$this->input->post('id'));
|
||||
$this->load->view('qso/edit_done');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
<div style="float: right; padding-right: 60px; padding-top: 30px;">
|
||||
<p><a href="<?php echo site_url('qso/delete'); ?>/<?php echo $COL_PRIMARY_KEY; ?>" >Delete QSO <img src="<?php echo base_url(); ?>/images/delete.png" width="16" height="16" alt="Delete" /></a></p>
|
||||
</div>
|
||||
|
|
@ -122,7 +123,7 @@
|
|||
</table>
|
||||
|
||||
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
||||
<div><input type="submit" value="Submit" /></div>
|
||||
<div><input type="submit" value="Submit" onclick="closeME();" /></div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title></title>
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
parent.$.fancybox.close();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
正在加载…
在新工单中引用