diff --git a/weight.module b/weight.module
index b49b793..f7110e3 100644
--- a/weight.module
+++ b/weight.module
@@ -464,9 +464,10 @@ function weight_preprocess_views_view_table(&$variables) {
   foreach ($variables['rows'] as $key => $row) {
     $variables['row_classes'][$key][] = 'draggable';
   }
-  $variables['attributes_array']['id'] = 'weight-table';
+  $table_id = 'weight-table-' . $variables['id'];
+  $variables['attributes_array']['id'] = $table_id;
 
-  drupal_add_tabledrag('weight-table', 'order', 'sibling', 'weight-weight');
+  drupal_add_tabledrag($table_id, 'order', 'sibling', 'weight-weight');
 }
 
 /**
