mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-28 01:07:58 +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 '
|
echo '
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#save").addClass("hide");
|
$("#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(
|
$.get(
|
||||||
globals.rootdir + "/actions.php?id_module='.$id_module.'&id_record='.$id_record.'&op=update_permission&idmodulo=" + id + "&permesso=" + value,
|
globals.rootdir + "/actions.php?id_module='.$id_module.'&id_record='.$id_record.'&op=update_permission&idmodulo=" + id + "&permesso=" + value,
|
||||||
function(data){
|
function(data){
|
||||||
@ -207,5 +210,5 @@ echo '
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
</script>';
|
</script>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user