Re-add example interests on blur, if you have not added your own
interests.
Patch by wyntarvox.
diffs (16 lines):
diff -r 57eaba5c72e2 -r 41b7798135b5 htdocs/js/widgets/createaccountprofile.js
--- a/htdocs/js/widgets/createaccountprofile.js Sun Oct 25 04:31:04 2009 +0000
+++ b/htdocs/js/widgets/createaccountprofile.js Sun Oct 25 09:41:51 2009 +0000
@@ -26,6 +26,12 @@ CreateAccountProfile.init = function ()
DOM.addEventListener($('interests_books'), "focus",
CreateAccountProfile.removeText.bindEventListener("interests_books"));
DOM.addEventListener($('interests_hobbies'), "focus",
CreateAccountProfile.removeText.bindEventListener("interests_hobbies"));
DOM.addEventListener($('interests_other'), "focus",
CreateAccountProfile.removeText.bindEventListener("interests_other"));
+
+ DOM.addEventListener($('interests_music'), "blur",
CreateAccountProfile.addText.bindEventListener("interests_music"));
+ DOM.addEventListener($('interests_moviestv'), "blur",
CreateAccountProfile.addText.bindEventListener("interests_moviestv"));
+ DOM.addEventListener($('interests_books'), "blur",
CreateAccountProfile.addText.bindEventListener("interests_books"));
+ DOM.addEventListener($('interests_hobbies'), "blur",
CreateAccountProfile.addText.bindEventListener("interests_hobbies"));
+ DOM.addEventListener($('interests_other'), "blur",
CreateAccountProfile.addText.bindEventListener("interests_other"));
DOM.addEventListener($('interests_music'), "change",
CreateAccountProfile.markAsChanged.bindEventListener("interests_music"));
DOM.addEventListener($('interests_moviestv'), "change",
CreateAccountProfile.markAsChanged.bindEventListener("interests_moviestv"));
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog