[icinga-checkins] icinga.org: icingaweb2/bugfix/remove-autosubmit-in-event-grid-7755: StatehistoryForm: Remove autoupdate on clicking the select-boxes

git at icinga.org git at icinga.org
Fri Oct 14 15:27:08 CEST 2016


Module: icingaweb2
Branch: bugfix/remove-autosubmit-in-event-grid-7755
Commit: 877dd6704615ed05d8e86143bcaba712429fc4d0
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=877dd6704615ed05d8e86143bcaba712429fc4d0

Author: Jennifer Mourek <jennifer.mourek at netways.de>
Date:   Fri Oct 14 15:16:39 2016 +0200

StatehistoryForm: Remove autoupdate on clicking the select-boxes

refs #7755

---

 .../monitoring/application/forms/StatehistoryForm.php   |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/modules/monitoring/application/forms/StatehistoryForm.php b/modules/monitoring/application/forms/StatehistoryForm.php
index 2008305..3a7c10d 100644
--- a/modules/monitoring/application/forms/StatehistoryForm.php
+++ b/modules/monitoring/application/forms/StatehistoryForm.php
@@ -71,8 +71,7 @@ class StatehistoryForm extends Form
                     strtotime('midnight 8 months ago') => $this->translate('8 Months'),
                     strtotime('midnight 12 months ago') => $this->translate('1 Year'),
                     strtotime('midnight 24 months ago') => $this->translate('2 Years')
-                ),
-                'class' => 'autosubmit'
+                )
             )
         );
         $this->addElement(
@@ -83,8 +82,7 @@ class StatehistoryForm extends Form
                 'value' => $this->getRequest()->getParam('to', time()),
                 'multiOptions' => array(
                     time() => $this->translate('Today')
-                ),
-                'class' => 'autosubmit'
+                )
             )
         );
 
@@ -98,8 +96,7 @@ class StatehistoryForm extends Form
                 'multiOptions' => array(
                     'services' => $this->translate('Services'),
                     'hosts' => $this->translate('Hosts')
-                ),
-                'class' => 'autosubmit'
+                )
             )
         );
         if ($objectType === 'services') {
@@ -118,8 +115,7 @@ class StatehistoryForm extends Form
                         'cnt_warning_hard' => $this->translate('Warning'),
                         'cnt_unknown_hard' => $this->translate('Unknown'),
                         'cnt_ok' => $this->translate('Ok')
-                    ),
-                    'class' => 'autosubmit'
+                    )
                 )
             );
         } else {
@@ -137,8 +133,7 @@ class StatehistoryForm extends Form
                         'cnt_up' => $this->translate('Up'),
                         'cnt_down_hard' => $this->translate('Down'),
                         'cnt_unreachable_hard' => $this->translate('Unreachable')
-                    ),
-                    'class' => 'autosubmit'
+                    )
                 )
             );
         }



More information about the icinga-checkins mailing list