Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authordanielgrippi <danielgrippi@gmail.com>2011-07-29 02:33:52 +0400
committerdanielgrippi <danielgrippi@gmail.com>2011-07-29 02:34:01 +0400
commitee95def580165b425ffb8ed828d72e4033a34da1 (patch)
tree9942449331700924bc8f13751f0e94b57e92d6a4 /app
parent71ae8e5fcd440fe8781f6665e834f3883ea7e772 (diff)
removed js from the view. added grabbing hand while moving aspects
Diffstat (limited to 'app')
-rw-r--r--app/views/aspects/_aspect_listings.haml13
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'
- });
- });
-