Hi,

Orientation setting is not saved properly. Here is a patch:

--- menu_attach_block.module.bak	2014-06-05 15:43:23.000000000 +0200
+++ menu_attach_block.module	2014-06-05 15:43:52.000000000 +0200
@@ -227,7 +227,7 @@
   $form['menu_attach_block']['orientation'] = array(
     '#type' => 'select',
     '#title' => t('Menu orientation'),
-    '#default_value' => isset($form['options']['#value']['menu_attach_block']['name']) ? $form['options']['#value']['menu_attach_block']['name'] : 'horizontal',
+    '#default_value' => isset($form['options']['#value']['menu_attach_block']['orientation']) ? $form['options']['#value']['menu_attach_block']['orientation'] : 'horizontal',
     '#options' => array('horizontal' => t('Horizontal'), 'vertical' => t('Vertical')),
   );
   // Inject handlers.

Regards,

Martin

CommentFileSizeAuthor
#1 patch.diff729 bytesmduvergey

Comments

mduvergey’s picture

StatusFileSize
new729 bytes
mduvergey’s picture

Status: Needs review » Closed (fixed)

Sorry, bug is already fixed in latest Git version.

Status: Closed (fixed) » Needs work

The last submitted patch, 1: patch.diff, failed testing.

mduvergey’s picture

Status: Needs work » Closed (fixed)

Patch was not properly generated.
This is not important since bug has already been fixed in dev version.