mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-10 22:53:52 +01:00
Fix add.php
This commit is contained in:
parent
34f29b6ad8
commit
a5e3517c55
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user