Skip to content

Commit 4996478

Browse files
committed
fix: Correzione sottocategorie in aggiunta impianto
1 parent af303df commit 4996478

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/impianti/add.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@
7070

7171
<script type="text/javascript">
7272
$(document).ready(function () {
73-
var sub = $('#add-form').find('#sottocategoria_add');
73+
var sub = $('#sottocategoria_add');
7474
var original = sub.parent().find(".input-group-append button").attr("onclick");
7575

76-
$('#add-form').find('#id_categoria').change(function() {
76+
$('#id_categoria').change(function() {
7777
updateSelectOption("id_categoria", $(this).val());
7878
session_set('superselect,id_categoria', $(this).val(), 0);
7979

0 commit comments

Comments
 (0)