[Jifty-commit] r1622 - jifty/trunk/share/web/static/js
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jul 19 17:08:29 EDT 2006
Author: nelhage
Date: Wed Jul 19 17:08:29 2006
New Revision: 1622
Modified:
jifty/trunk/share/web/static/js/jifty.js
Log:
Add the class before we set the text, so that it appears grayed-out, rather than appearing and *then* graying out
Modified: jifty/trunk/share/web/static/js/jifty.js
==============================================================================
--- jifty/trunk/share/web/static/js/jifty.js (original)
+++ jifty/trunk/share/web/static/js/jifty.js Wed Jul 19 17:08:29 2006
@@ -911,8 +911,8 @@
onBlur: function() {
if(this.element.value == '') {
- this.element.value = this.text;
Element.addClassName(this.element, 'placeholder');
+ this.element.value = this.text;
}
},
More information about the Jifty-commit
mailing list