Commit 487620d8 by Phạm Văn Đoan

fixbug ko insert được

parent 3621cf57
......@@ -24,7 +24,7 @@
<td>
<?php echo (($data['status'] == 1) ? 'Đã xử lý' : 'Chờ xử lý') ?>
</td>
<td>
<td style="text-align: center">
<?php if($data['status'] == 0): ?>
<a href="<?php echo base_url('backend/cmsRanking/processOverlapRanking/'.$data['id']); ?>" title="Xử lý xóa trùng">
<i class="ace-icon fa fa-trash bigger-130 color-red"></i>
......
......@@ -3,11 +3,11 @@
// Lấy thông tin bài hát
$("#ranking_true").change(function(){
$('#keep_ranking').val($('#ranking_true option:selected').attr('ranking'));
$('#keep_track_title').val($('#ranking_true option:selected').text());
$('#keep_track_title').val($('#ranking_true option:selected').text().trim());
});
$("#ranking_false").change(function(){
$('#delete_ranking').val($('#ranking_false option:selected').attr('ranking'));
$('#delete_track_title').val($('#ranking_false option:selected').text());
$('#delete_track_title').val($('#ranking_false option:selected').text().trim());
});
});
......
......@@ -10,8 +10,8 @@
<div class="col-md-12">
<div class="form-group">
<label>BXH: <span id="ranking_at" style="color: red"></span></label>
<input type="hidden" id="keep_ranking" value="">
<input type="hidden" id="delete_ranking" value="">
<input type="hidden" id="keep_ranking" value="-1">
<input type="hidden" id="delete_ranking" value="-1">
<input type="hidden" id="keep_track_title" value="">
<input type="hidden" id="delete_track_title" value="">
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment