From b2ac9d066412a94a35492eaa118461268385f762 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 9 Jun 2011 19:17:43 +0000 Subject: Refs #2871 also turning off dragging when not in priority order git-svn-id: http://code.elgg.org/elgg/trunk@9155 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/object/plugin/advanced.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'views/default/object/plugin') diff --git a/views/default/object/plugin/advanced.php b/views/default/object/plugin/advanced.php index 21c99f619..51fb69d17 100644 --- a/views/default/object/plugin/advanced.php +++ b/views/default/object/plugin/advanced.php @@ -29,6 +29,8 @@ $token = generate_action_token($ts); $links = ''; if ($reordering) { + $draggable = 'elgg-state-draggable'; + // top and up link only if not at top if ($priority > 1) { $top_url = elgg_http_add_url_query_elements($actions_base . 'set_priority', array( @@ -82,8 +84,11 @@ if ($reordering) { 'is_action' => true )) . ""; } +} else { + $draggable = 'elgg-state-undraggable'; } + // activate / deactivate links // always let them deactivate @@ -184,7 +189,7 @@ if ($files) { ?> -
+
-- cgit v1.2.3