From f1def7a7106673f31de392c55fd3fb4b8ff390b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Thu, 13 Oct 2016 18:15:17 +0200 Subject: [PATCH] B #4871: Fix menu width when there are no edit_labels --- src/sunstone/public/app/sunstone.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/sunstone.js b/src/sunstone/public/app/sunstone.js index 5ef6fa39a6..f56a9a7ffe 100644 --- a/src/sunstone/public/app/sunstone.js +++ b/src/sunstone/public/app/sunstone.js @@ -430,9 +430,10 @@ define(function(require) { if ($("#" + customId + "labels_buttons button", buttonsRow).length != 0) { $('#' + customId + 'labels_buttons').append( - '').foundation(); + ''); } + $('#' + customId + 'labels_buttons').foundation(); //actionBlock.foundationButtons(); $('.top_button, .list_button', actionBlock).prop('disabled', false); $('.top_button, .list_button', actionBlock).prop('disabled', true);