mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-18 12:30:35 +01:00
Rimozione pulsante email in Utenti e permessi
This commit is contained in:
parent
4d9d27e9da
commit
a17511f745
@ -190,12 +190,15 @@ if ($record['editable'] == 1) {
|
||||
|
||||
echo '
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$(document).ready(function(){
|
||||
$("#save").addClass("hide");
|
||||
});
|
||||
$("li.active.header button.btn-primary").attr("data-href", $("a.pull-right").attr("data-href") );
|
||||
|
||||
function update_permissions(id, value){
|
||||
$("#email-button").remove();
|
||||
});
|
||||
|
||||
$("li.active.header button.btn-primary").attr("data-href", $("a.pull-right").attr("data-href") );
|
||||
|
||||
function update_permissions(id, value){
|
||||
$.get(
|
||||
globals.rootdir + "/actions.php?id_module='.$id_module.'&id_record='.$id_record.'&op=update_permission&idmodulo=" + id + "&permesso=" + value,
|
||||
function(data){
|
||||
@ -207,5 +210,5 @@ echo '
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
</script>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user