diff options
author | danielgrippi <danielgrippi@gmail.com> | 2011-07-29 02:33:52 +0400 |
---|---|---|
committer | danielgrippi <danielgrippi@gmail.com> | 2011-07-29 02:34:01 +0400 |
commit | ee95def580165b425ffb8ed828d72e4033a34da1 (patch) | |
tree | 9942449331700924bc8f13751f0e94b57e92d6a4 /app | |
parent | 71ae8e5fcd440fe8781f6665e834f3883ea7e772 (diff) |
removed js from the view. added grabbing hand while moving aspects
Diffstat (limited to 'app')
-rw-r--r-- | app/views/aspects/_aspect_listings.haml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/app/views/aspects/_aspect_listings.haml b/app/views/aspects/_aspect_listings.haml index bad7ad9cb..76b8dada7 100644 --- a/app/views/aspects/_aspect_listings.haml +++ b/app/views/aspects/_aspect_listings.haml @@ -36,16 +36,3 @@ = only_sharing_count = t('contacts.index.only_sharing_with_me') - :javascript - $(document).ready(function() { - jQuery('#aspect_nav.left_nav .all_aspects .sub_nav').sortable({ - items: 'li[id]', - update: function(event, ui) { - 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' - }); - }); - |