* @subpackage Widgets.Management
*/
-$user_guid = get_input('user');
+$user_guid = get_input('user_guid');
$handler = get_input('handler');
$context = get_input('context');
$column = get_input('column', 1);
* @return void
* @since 1.8.0
*/
- public function move($column, $position) {
+ public function move($column, $rank) {
$options = array(
'type' => 'object',
'subtype' => 'widget',
elgg.action('widgets/add', {\r
data: {\r
handler: $(this).attr('id'),\r
- user: elgg.get_loggedin_userid(),\r
+ user_guid: elgg.get_loggedin_userid(),\r
context: $("input[name='widget_context']").val()\r
},\r
success: function(json) {\r