bugfix in profile_settings, removed files from conf (always public/files) and changed default avatar to defunct brightkite avatar
diff --git a/home/page/profile_settings/profile_settings.js b/home/page/profile_settings/profile_settings.js
index 96a78e3..478af83 100644
--- a/home/page/profile_settings/profile_settings.js
+++ b/home/page/profile_settings/profile_settings.js
@@ -65,13 +65,15 @@
//
this.make_form = function() {
var div = $a($td(this.tab, 0, 1), 'div');
- this.form = new wn.ui.FieldGroup()
- this.form.make_fields(div, [
- {fieldname:'first_name', fieldtype:'Data',label:'First Name',reqd:1},
- {fieldname:'last_name', fieldtype:'Data',label:'Last Name'},
- {fieldname:'bio', fieldtype:'Text',label:'Bio'},
- {fieldname:'update', fieldtype:'Button',label:'Update'}
- ]);
+ this.form = new wn.ui.FieldGroup({
+ parent: div,
+ fields: [
+ {fieldname:'first_name', fieldtype:'Data',label:'First Name',reqd:1},
+ {fieldname:'last_name', fieldtype:'Data',label:'Last Name'},
+ {fieldname:'bio', fieldtype:'Text',label:'Bio'},
+ {fieldname:'update', fieldtype:'Button',label:'Update'}
+ ]
+ });
this.form.fields_dict.update.input.onclick = function() {
var v = me.form.get_values();
@@ -99,7 +101,6 @@
{fieldname:'change', fieldtype:'Button', label:'Change'}
]
})
- d.make();
d.fields_dict.change.input.onclick = function() {
var v = d.get_values();
if(v) {