aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 21:44:14 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 21:44:14 -0400
commit2e0cc0343715adec8a0843750016f89acc3c2394 (patch)
tree9205cbf231ef9f2035a8d29b4834f44c7e86e7d0 /js/lib
parent1ed326672a833f020bdb15f0b9cb047ab57f0b5b (diff)
downloadelgg-2e0cc0343715adec8a0843750016f89acc3c2394.tar.gz
elgg-2e0cc0343715adec8a0843750016f89acc3c2394.tar.bz2
Fixes #4661 not showing access on widgets loaded through ajax if the layout does not show access
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.widgets.js1
1 files changed, 1 insertions, 0 deletions
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) {