Browse Source

Fix #2366 atalho para votação nas telas de ordem dia e expediente (#2370)

pull/2378/head
Talitha Pumar 6 years ago
committed by Edward
parent
commit
6f62400020
  1. 6
      sapl/templates/sessao/expedientemateria_list.html
  2. 6
      sapl/templates/sessao/ordemdia_list.html

6
sapl/templates/sessao/expedientemateria_list.html

@ -22,6 +22,12 @@
var pk_sessao = {{root_pk}}; var pk_sessao = {{root_pk}};
var pk_list = {{ object_list|to_list_pk|safe }}; var pk_list = {{ object_list|to_list_pk|safe }};
$(document).on('keyup', (e) => {
if (e.keyCode == 86){
window.open("{% url 'sapl.painel:voto_individual' %}",'Voto Individual','width=1000, height=800, scrollbars=yes');
};
});
$('tbody').sortable({ $('tbody').sortable({
start: function(event, ui) { start: function(event, ui) {

6
sapl/templates/sessao/ordemdia_list.html

@ -22,6 +22,12 @@
var pk_sessao = {{root_pk}}; var pk_sessao = {{root_pk}};
var pk_list = {{ object_list|to_list_pk|safe }}; var pk_list = {{ object_list|to_list_pk|safe }};
$(document).on('keyup', (e) => {
if (e.keyCode == 86){
window.open("{% url 'sapl.painel:voto_individual' %}",'Voto Individual','width=1000, height=800, scrollbars=yes');
};
});
$('tbody').sortable({ $('tbody').sortable({
start: function(event, ui) { start: function(event, ui) {

Loading…
Cancel
Save