Eliminate all last traces of apply_behavior

This commit is contained in:
Eric Allen 2009-11-04 22:06:21 -05:00
parent 686086dcdf
commit 7ef91403f1
3 changed files with 0 additions and 13 deletions

View file

@ -59,17 +59,6 @@
var projectNames = <%= project_names_for_autocomplete %>;
$('todo_context_name').projectDefaultContextsMap = eval('(' + <%= @default_project_context_name_map %> + ')');
</script>
<!--
<input class="hide_tickler" id="hide_tickler" type="checkbox" tabindex="5" name="hide_tickler" checked="true"/>
<label for="hide_tickler"> Show actions in tickler</label>
<br/><br/>
-->
<p><%= link_to('<span class="feed">iCal</span>', {:format => 'ics', :token => current_user.token}, :title => "iCal feed" ) %>
- Get this calendar in iCal format</p>
</div>
<%
apply_behavior 'input.hide_tickler:click', :prevent_default => true do |page|
page << "alert('hiding action in tickler from calendar is not yet implemented');"
end
%>

View file

@ -5,7 +5,6 @@ describe "/notes/_notes.rhtml" do
@project = mock_model(Project, :name => "a project")
@note = mock_model(Note, :body => "this is a note", :project => @project, :project_id => @project.id,
:created_at => Time.now, :updated_at? => false)
# @controller.template.stub!(:apply_behavior)
@controller.template.stub!(:format_date)
# @controller.template.stub!(:render)
# @controller.template.stub!(:form_remote_tag)

View file

@ -5,7 +5,6 @@ describe "/todos/_toggle_notes.rhtml" do
before :each do
@item = mock_model(Todo, :notes => "this is a note")
@controller.template.stub!(:apply_behavior)
@controller.template.stub!(:set_default_external!)
end