diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-22 00:31:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-22 00:31:07 +0200 |
| commit | 07e7d260196fa67beb538bc4d4dd154c2a2867ce (patch) | |
| tree | ef1b1c54e24841c9e5718c86bbf8bb3159882f97 /StoneIsland/platforms/ios/www/js/lib/view/Serializable.js | |
| parent | 44412308278b88fc64be581f42bd91f8bc969397 (diff) | |
scrolling wah
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/view/Serializable.js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/view/Serializable.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js b/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js index de5fe951..f1c61072 100755 --- a/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js +++ b/StoneIsland/platforms/ios/www/js/lib/view/Serializable.js @@ -105,7 +105,9 @@ var SerializableView = View.extend({ var msgs = [] errors.forEach(function(e, i){ if (i > 0) { return } - this.$("[name=" + e[0] + "]").addClass('error_hilite') + if (e[0]) { + this.$("[name=" + e[0] + "]").addClass('error_hilite') + } msgs.push(e[1]) }.bind(this)) this.$msg.html(msgs.join("<br>")) |
