more input/button fixes stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 20 Jan 2010 10:13:02 +0100
branchstable
changeset 4280 15d541321a8c
parent 4271 dfee17fa363f
child 4281 74c1597f8a82
child 4285 ea590101691c
more input/button fixes
web/data/cubicweb.css
web/data/cubicweb.form.css
web/data/cubicweb.preferences.js
--- a/web/data/cubicweb.css	Tue Jan 19 18:20:43 2010 +0100
+++ b/web/data/cubicweb.css	Wed Jan 20 10:13:02 2010 +0100
@@ -841,7 +841,7 @@
   font-weight: bold;
 }
 
-input.validateButton {
+.validateButton {
   margin: 1em 1em 0px 0px;
   border: 1px solid #edecd2;
   border-color:#edecd2 #cfceb7 #cfceb7  #edecd2;
--- a/web/data/cubicweb.form.css	Tue Jan 19 18:20:43 2010 +0100
+++ b/web/data/cubicweb.form.css	Wed Jan 20 10:13:02 2010 +0100
@@ -108,7 +108,7 @@
   background: url("required.png") 100% 50% no-repeat;
 }
 
-.entityForm input.validateButton {
+.entityForm .validateButton {
   margin: 5px 10px 5px 0px;
 }
 
@@ -226,7 +226,7 @@
   cursor: default;
 }
 
-input.validateButton {
+.validateButton {
   margin: 1em 1em 0px 0px;
   border: 1px solid #edecd2;
   border-color:#edecd2 #cfceb7 #cfceb7  #edecd2;
--- a/web/data/cubicweb.preferences.js	Tue Jan 19 18:20:43 2010 +0100
+++ b/web/data/cubicweb.preferences.js	Wed Jan 20 10:13:02 2010 +0100
@@ -134,7 +134,7 @@
     jQuery('form').each(function() {
 	var form = jQuery(this);
 	//freezeFormButtons(form.attr('id'));
-	form.find('input.validateButton').attr('disabled', 'disabled');
+	form.find('.validateButton').attr('disabled', 'disabled');
 	form.find('input[type=text]').keyup(function(){
 	    checkValues(form);
 	});