diff --git a/include/staff/category.inc.php b/include/staff/category.inc.php
index 20392a06739ebc02c5fa1cda008cf99a822430c1..97ab7e21d4866f864afad94a54c7bbc88f4bb8b2 100644
--- a/include/staff/category.inc.php
+++ b/include/staff/category.inc.php
@@ -124,6 +124,14 @@ if (count($langs) > 1) { ?>
             <?php
             } ?>
         </select>
+        <script>
+            $('select[name=pid]').on('change', function() {
+                var val = this.value;
+                $('select[name=pid]').each(function() {
+                    $(this).val(val);
+                });
+            });
+        </script>
     </div>
     <div style="padding-bottom:8px;">
         <b><?php echo __('Category Name');?></b>: