From 46b151d3963498ab6868d2ad878b4b2f83f6470c Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Fri, 1 Feb 2019 15:44:53 -0200 Subject: [PATCH] desativa checkbox e radiobox do druken MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drunken serĂ¡ desativa totalmente apos o PR do branch 1540-migra-frontend --- sapl/static/js/app.js | 2 +- sapl/static/js/compilacao.js | 4 ++-- sapl/static/js/compilacao_edit.js | 2 +- sapl/templates/base.html | 3 --- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sapl/static/js/app.js b/sapl/static/js/app.js index c30f357bd..9a7e41604 100644 --- a/sapl/static/js/app.js +++ b/sapl/static/js/app.js @@ -231,7 +231,7 @@ $(document).ready(function(){ autorModal(); initTinymce("texto-rico"); - OptionalCustomFrontEnd(); + //OptionalCustomFrontEnd(); }); diff --git a/sapl/static/js/compilacao.js b/sapl/static/js/compilacao.js index a5dd9be1b..1769fce9f 100644 --- a/sapl/static/js/compilacao.js +++ b/sapl/static/js/compilacao.js @@ -118,7 +118,7 @@ function DispostivoSearch(opts) { insertWaitAjax('.result-busca-dispositivo') $.get(url, formData).done(function( data ) { $('.result-busca-dispositivo').html(data); - //OptionalCustomFrontEnd().init(); + ////OptionalCustomFrontEnd().init(); if (data_type_selection == 'checkbox') { var tas = $('.result-busca-dispositivo').find('input[name="ta_select_all"]'); tas.off(); @@ -168,7 +168,7 @@ function DispostivoSearch(opts) { $.get(opts['url_form'], function(data) { container_ds.html(data); var modal_ds = $('#modal-ds'); - OptionalCustomFrontEnd().init(); + //OptionalCustomFrontEnd().init(); modal_ds.find("select[name='tipo_ta']").change(function(event) { var url = ''; diff --git a/sapl/static/js/compilacao_edit.js b/sapl/static/js/compilacao_edit.js index 58e05280b..540b0c48d 100644 --- a/sapl/static/js/compilacao_edit.js +++ b/sapl/static/js/compilacao_edit.js @@ -229,7 +229,7 @@ function DispositivoEdit() { if (editortype == 'tinymce' ) { initTinymce(); } - OptionalCustomFrontEnd().init(); + //OptionalCustomFrontEnd().init(); } dpt.trigger(trigger); }).always(function() { diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 807f97786..84deb4b60 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -241,9 +241,6 @@ - - -