diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-29 01:41:19 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-29 01:41:19 +0400 |
commit | b367a486d37037b5988bf823c714425db07b35a8 (patch) | |
tree | 3c5d0815b024d9da433f324b1600ccebfacbb23e /app | |
parent | ddd4424df81b6f8606837024ad3d961ee7974d7d (diff) |
Add helper clone to aspect sorting js, so that dragging doesn't click
Diffstat (limited to 'app')
-rw-r--r-- | app/views/aspects/_aspect_listings.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/aspects/_aspect_listings.haml b/app/views/aspects/_aspect_listings.haml index 7d25d5dfa..bad7ad9cb 100644 --- a/app/views/aspects/_aspect_listings.haml +++ b/app/views/aspects/_aspect_listings.haml @@ -44,7 +44,8 @@ var order = jQuery(this).sortable('toArray'); var obj = { 'reorder_aspects': order, 'authenticity_token': '#{form_authenticity_token}', '_method': 'put' }; jQuery.ajax('/user', { type: 'post', dataType: 'script', data: obj }); - } + }, + helper: 'clone' }); }); |