parent
f29d9be574
commit
94cf4fa37a
|
@ -64,10 +64,16 @@ $(function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
var elm = $modal.find(".event-data")[0];
|
var elm = $modal.find(".event-data")[0];
|
||||||
|
const event_data_header = $modal.find(".event-data-header")[0];
|
||||||
|
|
||||||
|
// Cleanup event data
|
||||||
|
event_data_header.hidden = true;
|
||||||
elm.innerHTML = "";
|
elm.innerHTML = "";
|
||||||
|
|
||||||
|
// Fill out event data
|
||||||
var data = element.dataset.data;
|
var data = element.dataset.data;
|
||||||
if (data !== "") {
|
if (data !== "") {
|
||||||
elm.innerHTML = "<h3>Data</h3>";
|
event_data_header.hidden = false;
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
elm.innerHTML += recursive_details("", data);
|
elm.innerHTML += recursive_details("", data);
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<h3 class="header-event-data">{{$l10n.Data}}</h3>
|
||||||
<div class="event-source">
|
<div class="event-source">
|
||||||
</div>
|
</div>
|
||||||
<div class="event-data">
|
<div class="event-data">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user