Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2117] reset forms on return after submitting command #795
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2117
Created by mzac on 2011-11-24 14:30:33 +00:00
When you use the check boxes next to hosts or services and then choose for example 'acknowledge' in the 'Select command' drop box, then choose your acknowledge and then done you come back to the same screen, however the same hosts/services are still checked and the 'Select command' drop box stays in the same place and the 'Submit' button is greyed out.
This page should be refreshed when clicking on the 'Done' button.
2012-03-07 22:33:52 +00:00 by ricardo 90ee3e4
2012-04-13 18:48:07 +00:00 by ricardo 7b9ec5b
Updated by ricardo on 2012-01-24 23:19:12 +00:00
could be done with ai guess. Don't know if it would work, but worth a try.
can you add this to the body tag in cgiutils.cgi document_header
to see if it works for service status list?
Updated by ricardo on 2012-03-07 22:39:16 +00:00
I think I got the problem fixed. The forms now getting reset after page is loaded.
Worked in all my test. Please test it your self as well.
in current 'rbartels/cgi'
Updated by mfriedrich on 2012-04-03 13:39:00 +00:00
the problem is now that this works like a charm on sending a command and then coming back to the status.cgi listing.
Updated by mfriedrich on 2012-04-03 13:39:46 +00:00
Updated by ricardo on 2012-04-13 15:11:43 +00:00
When you check or select something in the status list, the refresh counter will be reset to default and starts counting down again.
It won't be reload safe. We can't distinct if it's a reload or you coming back from sending a command.
shloud be ready to go now.