make private works
This commit is contained in:
parent
ac35fdaf9d
commit
73cfc81f93
|
@ -180,6 +180,10 @@ function getItemForm(f) {
|
||||||
} else {
|
} else {
|
||||||
var url = "/files/makePublic/";
|
var url = "/files/makePublic/";
|
||||||
}
|
}
|
||||||
|
var item = $('.selectedItem')
|
||||||
|
var f = item.data("data");
|
||||||
|
f.is_private = checked;
|
||||||
|
item.data("data", f);
|
||||||
var parent = $(this).parents(".itemForm");
|
var parent = $(this).parents(".itemForm");
|
||||||
var id = parent.find(".itemId").val();
|
var id = parent.find(".itemId").val();
|
||||||
var params = {'id': id}
|
var params = {'id': id}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user