Browse Source

desativa checkbox e radiobox do druken

drunken será desativa totalmente apos o PR do branch 1540-migra-frontend
pull/2468/head
Leandro Roberto 6 years ago
parent
commit
46b151d396
  1. 2
      sapl/static/js/app.js
  2. 4
      sapl/static/js/compilacao.js
  3. 2
      sapl/static/js/compilacao_edit.js
  4. 3
      sapl/templates/base.html

2
sapl/static/js/app.js

@ -231,7 +231,7 @@ $(document).ready(function(){
autorModal();
initTinymce("texto-rico");
OptionalCustomFrontEnd();
//OptionalCustomFrontEnd();
});

4
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 = '';

2
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() {

3
sapl/templates/base.html

@ -241,9 +241,6 @@
<script src="{% static 'tinymce/tinymce.min.js' %}"></script>
<script type="text/javascript" src="{% static 'jsdiff/diff.min.js' %}"></script>
<script type="text/javascript" src="{% static 'drunken-parrot-flat-ui/js/checkbox.js' %}"></script>
<script type="text/javascript" src="{% static 'drunken-parrot-flat-ui/js/radio.js' %}"></script>
<script type="text/javascript" src="{% static 'js/app.js' %}"></script>
<script type="text/javascript" src="{% static 'jquery-query-object/jquery.query-object.js' %}"></script>

Loading…
Cancel
Save