Index: branches/1.0.x/inc/styles.css
===================================================================
diff -u -r14754 -r14763
--- branches/1.0.x/inc/styles.css (.../styles.css) (revision 14754)
+++ branches/1.0.x/inc/styles.css (.../styles.css) (revision 14763)
@@ -952,7 +952,7 @@
padding-bottom: 1px;
width: 90px;
}
-.form .grey-button {
+.form .grey-button, .form .green-button[disabled] {
background: url(@templates_base@/img/bg-buttons.jpg) no-repeat 0 100%;
border: none;
color: #000;
Index: branches/1.0.x/elements/header.elm.tpl
===================================================================
diff -u -r14759 -r14763
--- branches/1.0.x/elements/header.elm.tpl (.../header.elm.tpl) (revision 14759)
+++ branches/1.0.x/elements/header.elm.tpl (.../header.elm.tpl) (revision 14763)
@@ -52,7 +52,7 @@
- Welcome! Please
Register for an account or
+ Welcome! Please
Register for an account or
Index: branches/1.0.x/login/register.tpl
===================================================================
diff -u -r14759 -r14763
--- branches/1.0.x/login/register.tpl (.../register.tpl) (revision 14759)
+++ branches/1.0.x/login/register.tpl (.../register.tpl) (revision 14763)
@@ -41,7 +41,7 @@
-
+
Index: branches/1.0.x/inc/js/form_manager.js
===================================================================
diff -u -r14759 -r14763
--- branches/1.0.x/inc/js/form_manager.js (.../form_manager.js) (revision 14759)
+++ branches/1.0.x/inc/js/form_manager.js (.../form_manager.js) (revision 14763)
@@ -330,6 +330,8 @@
function ($data) {
$data = eval('(' + $data + ')');
$me.setFieldStatus($prefix, $field, $data.status == 'OK' ? undefined : $data.status);
+
+ $("input[type='submit']").attr('disabled', !$.isArray($data.other_errors) );
}
);