= $this->section('additionalInlineJs') ?>
function showBreadCrumbSaveButton(showIt = false){
if(showIt === true){
$('#bc-save-div').show();
$('#bc-card').addClass('bg-warning');
} else if(showIt === false){
$('#bc-save-div').hide();
$('#bc-card').removeClass('bg-warning');
}
}
// SOLO PARA TEST
$(document).on("keypress", function(event) {
if (event.keyCode === 112) {
event.preventDefault();
showBreadCrumbSaveButton(true);
}
});
$('#bc-save').on( "click", function() {
showBreadCrumbSaveButton(false);
alert('click action on save button');
} );
///
= $this->endSection() ?>