[Jifty-commit] r7692 - jifty/trunk/share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Wed Dec 2 13:17:50 EST 2009
Author: c9s
Date: Wed Dec 2 13:17:49 2009
New Revision: 7692
Modified:
jifty/trunk/share/web/static/js/jifty.js
Log:
js shouldnt break line in some syntax. fix for ie
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 Dec 2 13:17:49 2009
@@ -1360,10 +1360,8 @@
// Record the validation errors and such with the form
if (error) {
- var text
- = error.textContent ? error.textContent
- : (error.firstChild ? error.firstChild.nodeValue
- : '');
+ var text = error.textContent ? error.textContent
+ : (error.firstChild ? error.firstChild.nodeValue : '');
var action = current_actions[moniker];
action.result.field_error[field.getAttribute("name")] = text;
}
More information about the Jifty-commit
mailing list