mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 08:18:50 +01:00
Eliminate all last traces of apply_behavior
This commit is contained in:
parent
686086dcdf
commit
7ef91403f1
3 changed files with 0 additions and 13 deletions
|
|
@ -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
|
||||
%>
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue