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>
|
||||
$(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-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>
|
||||
|
@@ -65,6 +65,21 @@ $(document).ready(function(){
|
||||
$('#bs-popup #idsede').change( function(){
|
||||
//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>
|
||||
|
Reference in New Issue
Block a user