Module: check_mk
Branch: master
Commit: 682a661c5df6a75f56997bd531cd774669dde3e1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=682a661c5df6a7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Aug 26 14:36:24 2011 +0200
FIX: Made bulk inventory work in IE
---
.bugs/197 | 15 +++++++++++++++
ChangeLog | 1 +
web/htdocs/check_mk.css | 1 +
web/htdocs/js/wato.js | 6 ++++--
4 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/.bugs/197 b/.bugs/197
new file mode 100644
index 0000000..9c73aee
--- /dev/null
+++ b/.bugs/197
@@ -0,0 +1,15 @@
+Title: Dashlet iframe Hintergrund weiß
+Component: multisite
+Benefit: 3
+State: open
+Cost: 2
+Date: 2011-08-26 14:24:58
+Class: nastiness
+
+Momentan ist der Dashlet Hintergrund bei iframes immer weiß. Das sieht nicht gut aus.
+Die Idee scheint mir zu sein, dass jede eingebettete Seite einen Eigenen Hintergrund
+definieren können soll. Ist grundsätzlich sicher auch sinnvoll. Allerdings sollte man
+den Default Hintergrund der Multisite Seite immer als Fallback drin haben.
+
+Interessanterweise funktioniert es im Firefox ordentlich. Da muss man noch mal drüber
+schauen. Eventuell irgendwas im CSS schief.
diff --git a/ChangeLog b/ChangeLog
index abe1d18..9860aee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* FIX: WATO filtered status GUIs did not update the title after changing
the title of the file/folder in WATO
* FIX: Removed new python syntax which is incompatible with old python versions
+ * FIX: Made bulk inventory work in IE
* Views are not reloaded completely anymore. The data tables are reloaded
on their own.
* Open tabs in views do not prevent reloading the displayed data anymore
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index c5ac76d..11f60b7 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -2034,6 +2034,7 @@ table.add_snapin i {
padding: 5px;
height: 250px;
overflow: auto;
+ text-align: left;
}
.wato table.progress td.log {
diff --git a/web/htdocs/js/wato.js b/web/htdocs/js/wato.js
index 7e3d447..68e7e40 100644
--- a/web/htdocs/js/wato.js
+++ b/web/htdocs/js/wato.js
@@ -212,8 +212,10 @@ function update_progress_stats(header) {
for(var i = 1; i < header.length; i++) {
var o = document.getElementById('progress_stat' + (i - 1));
if (o) {
- if(progress_success_stats.indexOf(i) !== -1)
- progress_found += parseInt(header[i]);
+ for(var a = 0; a < progress_success_stats.length; a++)
+ if(progress_success_stats[a] == i)
+ progress_found += parseInt(header[i]);
+
o.innerHTML = parseInt(o.innerHTML) + parseInt(header[i]);
o = null;
}