368
| <![CDATA[<script>
var inputs = document.getElementById("search_field");
inputs.addEventListener("keyup", function (event) {
event.preventDefault();
if (event.keyCode === 13) {
document.getElementById('btn-search').click();
}
});
function search_func() {
$("#btn-search").attr('href', "https://www.camaratrespontas.mg.gov.br/get_search" + "/" + encodeURI($("#search_field").val()));
}
$(document).ready(function () {
$('body').on('hidden.bs.modal', '.modal', function () {
$(this).removeData('bs.modal');
});
});
</script>]]>
|
757
| <![CDATA[<script>
$(document).ready(function () {
$('body').on('hidden.bs.modal', '.modal', function () {
$(this).removeData('bs.modal');
});
});
</script>]]>
|
840
| <![CDATA[<script>
function carregar_pagina(value) {
window.location.assign('https://www.camaratrespontas.mg.gov.br/leis/' + value);
}
$('#accordion .panel-collapse').on('shown.bs.collapse', function () {
$(this).parent(".panel").removeClass("panel-default").addClass("panel-info");
});
$('#accordion .panel-collapse').on('hidden.bs.collapse', function () {
$(this).parent(".panel").removeClass("panel-info").addClass("panel-default");
});
$('#accordion .panel-collapse').on('shown.bs.collapse', function () {
$(this).prev().find(".glyphicon").removeClass("glyphicon-plus").addClass("glyphicon-minus");
});
$('#accordion .panel-collapse').on('hidden.bs.collapse', function () {
$(this).prev().find(".glyphicon").removeClass("glyphicon-minus").addClass("glyphicon-plus");
});
</script>]]>
|