2 commits - hosted/js public_html/skins

Torsten Grote grote at kolabsys.com
Tue Sep 18 13:58:32 CEST 2012


 hosted/js/kolab_hosted.js           |    2 +-
 public_html/skins/default/style.css |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

New commits:
commit f57bdca8c8f2c6e3eaef9c6f130a4192d6180fb5
Merge: b13176a f2bf7c7
Author: Torsten Grote <grote at kolabsys.com>
Date:   Tue Sep 18 13:57:43 2012 +0200

    Merge branch 'master' of ssh://git.kolab.org/git/kolab-wap



commit b13176a7a7f9f741c27e224614d0b097c3f86026
Author: Torsten Grote <grote at kolabsys.com>
Date:   Tue Sep 18 13:40:04 2012 +0200

    use proper css from style files for form errors

diff --git a/hosted/js/kolab_hosted.js b/hosted/js/kolab_hosted.js
index 8565079..7baad54 100644
--- a/hosted/js/kolab_hosted.js
+++ b/hosted/js/kolab_hosted.js
@@ -89,7 +89,7 @@ kadm.update_user_info = function(msg, part)
     }
     else {
         // add span area and add message
-        $('input[name="'+part+'"]').after(' <span id="'+span_id+'" style="font-weight:bold;margin-left:1em;color:red;">' + msg + '</span>');
+        $('input[name="'+part+'"]').after(' <span id="'+span_id+'" class="form_error">' + msg + '</span>');
     }
 
     // enable/disable button
diff --git a/public_html/skins/default/style.css b/public_html/skins/default/style.css
index be30a88..d8e39ad 100644
--- a/public_html/skins/default/style.css
+++ b/public_html/skins/default/style.css
@@ -698,6 +698,13 @@ span.listcontent span.listelement.selected {
   background-color: #d6efff;
 }
 
+span.form_error {
+  color: #FF0000;
+  font-weight: bold;
+  font-size: 90%;
+  padding-left: 5px;
+}
+
 /*****   autocomplete list   *****/
 
 #autocompletepane





More information about the commits mailing list