Fixed line length.
--- a/app/soc/templates/soc/templatetags/_as_table_row.html Wed Jul 15 15:28:02 2009 +0200
+++ b/app/soc/templates/soc/templatetags/_as_table_row.html Wed Jul 15 17:11:17 2009 +0200
@@ -54,7 +54,20 @@
{% if help_text %}
<script type="text/javascript">
$(document).ready( function() {
- var tooltip = "<div class='tooltip'><div class='tooltip-body'><img src='/soc/content/images/purrInfo.png' alt='' /><h3>Info</h3><p>{% autoescape off %}{{ help_text|linebreaksbr|escapejs }}{% endautoescape %}</p></div><div class='tooltip-bottom'></div></div>";
+ var tooltip = [
+ "<div class='tooltip'>",
+ " <div class='tooltip-body'>",
+ " <img src='/soc/content/images/purrInfo.png' alt='' />",
+ " <h3>Info</h3>",
+ " <p>",
+ " {% autoescape off %}",
+ " {{ help_text|linebreaksbr|escapejs }}",
+ " {% endautoescape %}",
+ " </p>",
+ " </div>",
+ " <div class='tooltip-bottom'></div>",
+ "</div>"
+ ].join("");
var tooltip_object=null;
var documented = $("#{{ field_id }}");
var not_fieldset = documented.attr('tagName') !== 'FIELDSET';