aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--accounts/templates/accounts/index.html3
-rw-r--r--accounts/views.py2
-rw-r--r--version.txt2
3 files changed, 5 insertions, 2 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 4133270..341fd7d 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -366,6 +366,9 @@ function send(id) {
var form = document.getElementById('form1');
var action = document.getElementById('action');
action.setAttribute('value', id);
+ $(':disabled').each(function(e) {
+ $(this).removeAttr('disabled');
+ })
form.submit();
}
diff --git a/accounts/views.py b/accounts/views.py
index d8de4fe..598d300 100644
--- a/accounts/views.py
+++ b/accounts/views.py
@@ -488,7 +488,7 @@ def personal_wrapper(request, error, error_text):
resp_data = resp.json()
- midata_disable = " disabled"
+ midata_disable = " readonly disabled"
request.user.first_name = resp_data["first_name"]
request.user.last_name = resp_data["last_name"]
request.user.email = resp_data["email"]
diff --git a/version.txt b/version.txt
index b74496b..7c0c6a3 100644
--- a/version.txt
+++ b/version.txt
@@ -1,2 +1,2 @@
version=0.4
-rev=12
+rev=13