Created
February 24, 2019 13:18
-
-
Save ohadlevy/592841deacbe4aeec2b90b6fe0b2efcc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/views/smart_proxies/logs/_failed_modules.html.erb b/app/views/smart_proxies/logs/_failed_modules.html.erb | |
index a986d25ef..999a7c500 100644 | |
--- a/app/views/smart_proxies/logs/_failed_modules.html.erb | |
+++ b/app/views/smart_proxies/logs/_failed_modules.html.erb | |
@@ -1,6 +1,6 @@ | |
<% if modules.present? %> | |
<% modules.each do |module_name, error_message| %> | |
- <a href="#logs" onclick="filterLogsByMessage('<%= module_name %>')" data-toggle="tooltip" data-placement="top" title="<%= error_message %>"><%= Feature.name_map[module_name] || module_name.humanize %></a> | |
+ <a href="#logs" onclick="tfm.smartProxy.filterLogsByMessage('<%= module_name %>')" data-toggle="tooltip" data-placement="top" title="<%= error_message %>"><%= Feature.name_map[module_name] || module_name.humanize %></a> | |
<% end %> | |
<% else %> | |
<%= _("No Failed Features") %> | |
diff --git a/app/views/smart_proxies/plugins/_logs.html.erb b/app/views/smart_proxies/plugins/_logs.html.erb | |
index 8eed4a542..7fc0a1f66 100644 | |
--- a/app/views/smart_proxies/plugins/_logs.html.erb | |
+++ b/app/views/smart_proxies/plugins/_logs.html.erb | |
@@ -1,3 +1,3 @@ | |
<div class="tab-pane" id="logs" data-ajax-url="<%= log_pane_smart_proxy_path(:smart_proxy_id => @smart_proxy) %>" | |
- data-on-complete="activateLogsDataTable"><%= spinner %> | |
+ data-on-complete="tfm.smartProxy.activateLogsDataTable"><%= spinner %> | |
</div> | |
diff --git a/app/assets/javascripts/proxy_status/logs.js b/webpack/assets/javascripts/proxy_status/logs.js | |
similarity index 100% | |
rename from app/assets/javascripts/proxy_status/logs.js | |
rename to webpack/assets/javascripts/proxy_status/logs.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment