From a77dc3665c68c6504c757df187cffae1566f68a0 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 20 Aug 2015 15:05:02 +0200 Subject: [PATCH] Form: Show a spinner for ongoing form submits This will only be shown if there's no progress label set. refs #8369 --- library/Icinga/Web/Form.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index c5eb413d8..cd262375a 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -773,7 +773,8 @@ class Form extends Zend_Form 'data-progress-label' => $this->getProgressLabel(), 'decorators' => array( 'ViewHelper', - array('HtmlTag', array('tag' => 'div')) + array('Spinner', array('separator' => '')), + array('HtmlTag', array('tag' => 'div', 'class' => 'buttons')) ) ) );