From 6f6240002046affe2fc0cc5f8682ccb977dae47a Mon Sep 17 00:00:00 2001 From: Talitha Pumar Date: Mon, 12 Nov 2018 13:19:54 -0200 Subject: [PATCH] =?UTF-8?q?Fix=20#2366=20atalho=20para=20vota=C3=A7=C3=A3o?= =?UTF-8?q?=20nas=20telas=20de=20ordem=20dia=20e=20expediente=20(#2370)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/templates/sessao/expedientemateria_list.html | 6 ++++++ sapl/templates/sessao/ordemdia_list.html | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/sapl/templates/sessao/expedientemateria_list.html b/sapl/templates/sessao/expedientemateria_list.html index 51f2815d5..f372abcb0 100644 --- a/sapl/templates/sessao/expedientemateria_list.html +++ b/sapl/templates/sessao/expedientemateria_list.html @@ -22,6 +22,12 @@ var pk_sessao = {{root_pk}}; 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({ start: function(event, ui) { diff --git a/sapl/templates/sessao/ordemdia_list.html b/sapl/templates/sessao/ordemdia_list.html index 3ae16e2e8..6ed8d6120 100644 --- a/sapl/templates/sessao/ordemdia_list.html +++ b/sapl/templates/sessao/ordemdia_list.html @@ -22,6 +22,12 @@ var pk_sessao = {{root_pk}}; 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({ start: function(event, ui) {