From 2e0cc0343715adec8a0843750016f89acc3c2394 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 14 Jul 2012 21:44:14 -0400 Subject: Fixes #4661 not showing access on widgets loaded through ajax if the layout does not show access --- js/lib/ui.widgets.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js') diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js index b7d4b2fe4..26020bb4b 100644 --- a/js/lib/ui.widgets.js +++ b/js/lib/ui.widgets.js @@ -58,6 +58,7 @@ elgg.ui.widgets.add = function(event) { handler: type, owner_guid: elgg.get_page_owner_guid(), context: $("input[name='widget_context']").val(), + show_access: $("input[name='show_access']").val(), default_widgets: $("input[name='default_widgets']").val() || 0 }, success: function(json) { -- cgit v1.2.3