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

fixbug ko insert được

parent 3621cf57
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<td> <td>
<?php echo (($data['status'] == 1) ? 'Đã xử lý' : 'Chờ xử lý') ?> <?php echo (($data['status'] == 1) ? 'Đã xử lý' : 'Chờ xử lý') ?>
</td> </td>
<td> <td style="text-align: center">
<?php if($data['status'] == 0): ?> <?php if($data['status'] == 0): ?>
<a href="<?php echo base_url('backend/cmsRanking/processOverlapRanking/'.$data['id']); ?>" title="Xử lý xóa trùng"> <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> <i class="ace-icon fa fa-trash bigger-130 color-red"></i>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
// Lấy thông tin bài hát // Lấy thông tin bài hát
$("#ranking_true").change(function(){ $("#ranking_true").change(function(){
$('#keep_ranking').val($('#ranking_true option:selected').attr('ranking')); $('#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(){ $("#ranking_false").change(function(){
$('#delete_ranking').val($('#ranking_false option:selected').attr('ranking')); $('#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 @@ ...@@ -10,8 +10,8 @@
<div class="col-md-12"> <div class="col-md-12">
<div class="form-group"> <div class="form-group">
<label>BXH: <span id="ranking_at" style="color: red"></span></label> <label>BXH: <span id="ranking_at" style="color: red"></span></label>
<input type="hidden" id="keep_ranking" value=""> <input type="hidden" id="keep_ranking" value="-1">
<input type="hidden" id="delete_ranking" value=""> <input type="hidden" id="delete_ranking" value="-1">
<input type="hidden" id="keep_track_title" value=""> <input type="hidden" id="keep_track_title" value="">
<input type="hidden" id="delete_track_title" value=""> <input type="hidden" id="delete_track_title" value="">
</div> </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