diff --git a/nodeblock.js b/nodeblock.js
index e69de29..622a78f 100644
--- a/nodeblock.js
+++ b/nodeblock.js
@@ -0,0 +1,15 @@
+(function ($) {
+
+/**
+ * Update the summary for nodeblock's vertical tab.
+ */
+Drupal.behaviors.nodeblock_fieldsetSummary = {
+  attach: function (context) {
+    // Use the fieldset id attribute to identify the vertical tab element
+    $('fieldset#edit-nodeblock-settings', context).drupalSetSummary(function (context) {
+      return $('input[name=nodeblock]:checked + label').text();
+    });
+  }
+};
+
+})(jQuery);
diff --git a/nodeblock.module b/nodeblock.module
index f2d3570..6d4d740 100755
--- a/nodeblock.module
+++ b/nodeblock.module
@@ -110,6 +110,11 @@ function nodeblock_form_node_type_form_alter(&$form, &$form_state) {
     '#attributes' => array(
       'class' => array('node-block-settings'),
     ),
+    '#attached' => array(
+      'js' => array(
+        'vertical-tabs' => drupal_get_path('module', 'nodeblock') . '/nodeblock.js',
+      ),
+    ),
     'nodeblock' => array(
       '#type' => 'radios',
       '#title' => t('Available as block'),
