[#2281] Added a error message if the user has JavaScript offf.

This commit is contained in:
Eric Davis
2009-04-21 13:58:11 -07:00
parent 98976220ed
commit 9226b91245

View File

@@ -1,6 +1,10 @@
<% activity_fields = TimeEntryActivityCustomField.find(:all, :conditions => ['field_format IN (?)', ['list','bool']]) %> <% activity_fields = TimeEntryActivityCustomField.find(:all, :conditions => ['field_format IN (?)', ['list','bool']]) %>
<fieldset> <fieldset>
<div id="hide-if-js" class="flash error">
Please enable JavaScript, this page will not function without it.
</div>
<%= javascript_tag("$('hide-if-js').hide();") %>
<p> <p>
<label><%= l(:overhead_field_billing_status) %></label> <label><%= l(:overhead_field_billing_status) %></label>