mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-10 06:35:54 +01:00
fix: Correzione sottocategorie in aggiunta impianto
This commit is contained in:
parent
af303df825
commit
499647875d
@ -70,10 +70,10 @@ $id_modulo_categorie_impianti = Module::where('name', 'Categorie impianti')->fir
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var sub = $('#add-form').find('#sottocategoria_add');
|
var sub = $('#sottocategoria_add');
|
||||||
var original = sub.parent().find(".input-group-append button").attr("onclick");
|
var original = sub.parent().find(".input-group-append button").attr("onclick");
|
||||||
|
|
||||||
$('#add-form').find('#id_categoria').change(function() {
|
$('#id_categoria').change(function() {
|
||||||
updateSelectOption("id_categoria", $(this).val());
|
updateSelectOption("id_categoria", $(this).val());
|
||||||
session_set('superselect,id_categoria', $(this).val(), 0);
|
session_set('superselect,id_categoria', $(this).val(), 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user