From 73cfc81f9340b2cb022ceb19e9d000139e83000c Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 4 Jul 2011 18:39:30 +0530 Subject: [PATCH] make private works --- edgware/static/js/files/browse.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/edgware/static/js/files/browse.js b/edgware/static/js/files/browse.js index 300dd09..eb5c22d 100644 --- a/edgware/static/js/files/browse.js +++ b/edgware/static/js/files/browse.js @@ -180,6 +180,10 @@ function getItemForm(f) { } else { 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 id = parent.find(".itemId").val(); var params = {'id': id}