mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix add.php
This commit is contained in:
@@ -64,10 +64,16 @@ if (isset($id_record)) {
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready( function(){
|
$(document).ready( function(){
|
||||||
$('.colorpicker').colorpicker().on('changeColor', function(){
|
$('#bs-popup .colorpicker').colorpicker().on('changeColor', function(){
|
||||||
$('#bs-popup #colore_').parent().find('.square').css('background', $('#bs-popup #colore_').val());
|
$('#bs-popup #colore_').parent().find('.square').css('background', $('#bs-popup #colore_').val());
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#bs-popup #colore_').parent().find('.square').css('background', $('#bs-popup #colore_').val());
|
$('#bs-popup #colore_').parent().find('.square').css('background', $('#bs-popup #colore_').val());
|
||||||
|
|
||||||
|
$('#bs-popup2 .colorpicker').colorpicker().on('changeColor', function(){
|
||||||
|
$('#bs-popup2 #colore_').parent().find('.square').css('background', $('#bs-popup2 #colore_').val());
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#bs-popup2 #colore_').parent().find('.square').css('background', $('#bs-popup2 #colore_').val());
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@@ -66,5 +66,20 @@ $(document).ready(function(){
|
|||||||
//session_set('superselect,idsede', $(this).val(), 0);
|
//session_set('superselect,idsede', $(this).val(), 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#bs-popup2 #idanagrafica').change( function(){
|
||||||
|
|
||||||
|
session_set('superselect,idanagrafica', $(this).val(), 0);
|
||||||
|
|
||||||
|
var value = !$(this).val() ? true : false;
|
||||||
|
|
||||||
|
$("#bs-popup2 #idsede").prop("disabled", value);
|
||||||
|
$("#bs-popup2 #idsede").selectReset();
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#bs-popup2 #idsede').change( function(){
|
||||||
|
//session_set('superselect,idsede', $(this).val(), 0);
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user