Commit 1b750968 authored by Muhamad's avatar Muhamad

modal hide

parent 318a31cf
......@@ -28,11 +28,11 @@
<i class="icon-pie-chart5"></i>
</a>
</li>
<!-- <li style="margin-top: 60vh;position: absolute;">
<li style="margin-top: 60vh;position: absolute;">
<a href="#" id="btn-hide-all" class="side-bar-but" style="position: absolute;margin-top: 20px; display: block!important;">
<i class="icon-arrow-right13"></i>
</a>
</li> -->
</li>
</ul>
......@@ -468,7 +468,7 @@
<td>{{all.tgl_selesai}}</td>
<td>{{all.anggaran}}</td>
<td class="text-center ">
<a class="btn mdlFire " onclick="loaddetailid( '{{all.id_object}}') " data-toggle="modal" data-target="#modal_detail_perbaikan " style="background-color: #5A9AFB;color: white;border-radius: 5px;width: 85px;height: 25px; ">
<a class="btn mdlFire " onclick="loaddetailid( '{{all.id_object}}') " data-toggle="modal" data-target="#modal_detail_perbaikan" style="background-color: #5A9AFB;color: white;border-radius: 5px;width: 85px;height: 25px; ">
<div style="margin-top: -5px; ">
<i class="icon-search4 text-muted text-size-base " style="color: white;font-size: 10px; "></i>
<span>&nbsp;&nbsp;
......@@ -794,7 +794,7 @@
};
$("#tbody_perbaikan ").html(data_perbaikan)
datatatataI()
datatatata()
}
......@@ -845,7 +845,11 @@
}
$("#perbaikan_manage").click(function() {
datatatata()
$(".datatable-show-all.list_perb").dataTable().fnDestroy();
setTimeout(function() {
datatatata()
}, 100);
})
......@@ -862,6 +866,8 @@
dataType: 'json',
type: 'post',
success: function(data) {
$("#modal_detail_perbaikan").modal('show')
$(".map_detail_p").html(`<div id="map_detail_perbaikan" style=" position: relative; height: 220px; width: 90%; border-radius: 5px; ">`)
var map_detail_perbaikan = L.map('map_detail_perbaikan', {
......@@ -1243,6 +1249,6 @@
}
function destroymodper() {
$("#modal_detail_perbaikan").css("display", "none")
$("#modal_detail_perbaikan").modal('hide')
}
</script>
\ No newline at end of file
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