Module: check_mk
Branch: master
Commit: 78ca5dee87934223d58cb9c8929b94d97f8802a7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=78ca5dee879342…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Sep 5 15:07:56 2011 +0200
Submitting the view editor via ENTER key saves the view now instead of try mode
---
.bugs/198 | 10 +++++++---
ChangeLog | 1 +
web/htdocs/check_mk.css | 5 +++++
web/htdocs/views.py | 6 +++---
4 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/.bugs/198 b/.bugs/198
index 2f87d06..f869863 100644
--- a/.bugs/198
+++ b/.bugs/198
@@ -1,9 +1,13 @@
Title: "Try" in view editor zeigt Action Formular
Component: multisite
+State: done
+Class: cleanup
+Date: 2011-08-31 12:55:15
Benefit: 3
-State: open
Cost: 2
-Date: 2011-08-31 12:55:15
-Class: cleanup
+Fun: 0
Dort sollte kein Formular angezeigt werden.
+
+2011-09-05 14:40:10: changed state open -> done
+ist erledigt.
diff --git a/ChangeLog b/ChangeLog
index c7e0b1d..2c02929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,7 @@
* Implemented row selection in views to select only a subset of shown data
for actions
* Sort titles in views can be enabled by clicking on the whole cells now
+ * Submitting the view editor via ENTER key saves the view now instead of try mode
WATO:
* Changed row selection in WATO to new row selection mechanism
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index 3c71f04..16aa16e 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -1581,6 +1581,11 @@ div.columneditor td, div.columneditor select {
font-size: 0.9em;
}
+input#try{
+ float:left;
+}
+
+
/*
__ ___ _ _ _
\ \ / (_) _____ _| | (_)___| |_
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 7d2fb0c..f7f82ad 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -706,10 +706,10 @@ function toggle_section(nr, oImg) {
html.write('<tr><td class="legend button" colspan=2>')
- html.button("try", _("Try out"))
- html.write(" ")
html.button("save", _("Save"))
- html.write("</table>\n")
+ html.write(" ")
+ html.button("try", _("Try out"))
+ html.write("</td></tr></table>\n")
html.end_form()
html.write("</div></td></tr></table>\n")