Permalink
Browse files

done

  • Loading branch information...
1 parent 266c0de commit b3460837eaa0abeceffeea22202d2509f158c7e6 Neeraj Singh committed Nov 3, 2011
Showing with 10 additions and 32 deletions.
  1. +8 −0 app/assets/javascripts/admin_data.js
  2. +1 −16 app/views/layouts/admin_data.html.erb
  3. +1 −16 app/views/layouts/search.html.erb
@@ -8,3 +8,11 @@
//= require ./advance_search/global_ajax_setting
//= require ./misc/js_util
//= require ./analytics/report
+//= require ./advance_search/advance_search
+//= require ./advance_search/advance_search_structure
+//= require ./advance_search/ajaxify_advance_search
+//= require ./advance_search/act_on_result
+//= require ./advance_search/build_first_row
+//= require ./advance_search/event_bindings
+//= require ./advance_search/trigger_submit_on_domready
+//= require ./advance_search/sortby
@@ -7,22 +7,7 @@
</title>
<%= stylesheet_link_tag('admin_data') %>
-
- <% if params[:action] == 'advance_search' %>
- <%= javascript_include_tag(
- 'advance_search/advance_search',
- 'advance_search/advance_search_structure',
- 'advance_search/ajaxify_advance_search',
- 'advance_search/act_on_result',
- 'advance_search/build_first_row',
- 'advance_search/event_bindings',
- 'advance_search/trigger_submit_on_domready',
- 'advance_search/sortby'
- ) %>
- <% else %>
- <%= javascript_include_tag('admin_data') %>
- <% end %>
-
+ <%= javascript_include_tag('admin_data') %>
<%= csrf_meta_tag %>
</head>
@@ -7,22 +7,7 @@
</title>
<%= stylesheet_link_tag('admin_data') %>
-
- <% if params[:action] == 'advance_search' %>
- <%= javascript_include_tag(
- 'advance_search/advance_search',
- 'advance_search/advance_search_structure',
- 'advance_search/ajaxify_advance_search',
- 'advance_search/act_on_result',
- 'advance_search/build_first_row',
- 'advance_search/event_bindings',
- 'advance_search/trigger_submit_on_domready',
- 'advance_search/sortby'
- ) %>
- <% else %>
- <%= javascript_include_tag('admin_data') %>
- <% end %>
-
+ <%= javascript_include_tag('admin_data') %>
<%= csrf_meta_tag %>
</head>

0 comments on commit b346083

Please sign in to comment.