Commit bde81e96 authored by Manggar Mahardhika's avatar Manggar Mahardhika

Merge branch 'master' of http://git.khansia.co.id/Nahrowi/oku-gis

parents 3297a3ee dce3bacb
......@@ -831,6 +831,10 @@ function loadgroupbyid(id) {
let response = data;
if (response.code == 0) {
for (i in list_perm) {
console.log()
$("input[name='chekbox'][value=" + list_perm[i] + "]").prop('checked', 'checked')
}
var grup = response.data;
$("#ingroup").val(grup.name);
......@@ -1432,6 +1436,8 @@ $("#saveuser").on("click", function() {
});
})
$("#savegroup").on("click", function() {
var all_perm = []
$.each($("input[name='chekbox']:checked"), function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment