From 32f8c0770c91878d128442593a77748f24828b2e Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 20 Aug 2015 16:13:56 +0200 Subject: [PATCH] Wizard: Use a single spinner for all submit buttons refs #8369 --- library/Icinga/Web/Wizard.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Web/Wizard.php b/library/Icinga/Web/Wizard.php index 1af211017..f70452d3b 100644 --- a/library/Icinga/Web/Wizard.php +++ b/library/Icinga/Web/Wizard.php @@ -655,8 +655,21 @@ class Wizard ); } + $page->setAttrib('data-progress-element', 'wizard-progress'); + $page->addElement( + 'note', + 'progress', + array( + 'order' => 99, + 'decorators' => array( + 'ViewHelper', + array('Spinner', array('id' => 'wizard-progress')) + ) + ) + ); + $page->addDisplayGroup( - array(static::BTN_PREV, static::BTN_NEXT), + array(static::BTN_PREV, static::BTN_NEXT, 'progress'), 'buttons', array( 'decorators' => array(