[#6574] Confirm removal in JS and handle removing the last labor item

This commit is contained in:
Eric Davis committed 2011-10-11 13:49:49 -07:00
1 parent d633b32b30
commit 2653e80a5f
3 files changed
+21 -12

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
<%= javascript_tag("var i18nStartDateEmpty = '#{l(:text_start_date_empty)}'") %>
<%= javascript_tag("var i18nEndDateEmpty = '#{l(:text_end_date_empty)}'") %>
<%= javascript_tag("var i18nChangedPeriodMessage = '#{l(:text_changed_period_message)}'") %>
<%= javascript_tag("var i18nAreYouSure = '#{l(:text_are_you_sure)}'") %>
<% if resource.locked? || resource.closed? || resource.contract_locked? || resource.contract_closed? %>
<div class="error_msg">