aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/ui.widgets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/ui.widgets.js b/js/lib/ui.widgets.js
index ac55d0e7f..ebece5a59 100644
--- a/js/lib/ui.widgets.js
+++ b/js/lib/ui.widgets.js
@@ -37,7 +37,7 @@ elgg.ui.widgets.init = function() {
elgg.action('widgets/add', {
data: {
handler: $(this).attr('id'),
- user: elgg.get_loggedin_userid(),
+ user_guid: elgg.get_loggedin_userid(),
context: $("input[name='widget_context']").val()
},
success: function(json) {