From 55912537895792e691c7008062a6996a4f912d80 Mon Sep 17 00:00:00 2001 From: Michael Moll Date: Sat, 5 May 2018 02:05:53 +0200 Subject: [PATCH] try to namespace assets --- .../xenserver/cache_refresh.js | 0 .../xenserver/populate_fields.js | 0 app/views/compute_resources_vms/form/xenserver/_base.html.erb | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename app/assets/javascripts/{compute_resources => foreman_xen}/xenserver/cache_refresh.js (100%) rename app/assets/javascripts/{compute_resources => foreman_xen}/xenserver/populate_fields.js (100%) diff --git a/app/assets/javascripts/compute_resources/xenserver/cache_refresh.js b/app/assets/javascripts/foreman_xen/xenserver/cache_refresh.js similarity index 100% rename from app/assets/javascripts/compute_resources/xenserver/cache_refresh.js rename to app/assets/javascripts/foreman_xen/xenserver/cache_refresh.js diff --git a/app/assets/javascripts/compute_resources/xenserver/populate_fields.js b/app/assets/javascripts/foreman_xen/xenserver/populate_fields.js similarity index 100% rename from app/assets/javascripts/compute_resources/xenserver/populate_fields.js rename to app/assets/javascripts/foreman_xen/xenserver/populate_fields.js diff --git a/app/views/compute_resources_vms/form/xenserver/_base.html.erb b/app/views/compute_resources_vms/form/xenserver/_base.html.erb index 235d9e4..46af487 100644 --- a/app/views/compute_resources_vms/form/xenserver/_base.html.erb +++ b/app/views/compute_resources_vms/form/xenserver/_base.html.erb @@ -192,5 +192,5 @@ }) -<%= compute_specific_js(compute_resource, 'cache_refresh') %> -<%= compute_specific_js(compute_resource, 'populate_fields') %> \ No newline at end of file +<%= compute_specific_js(compute_resource, 'foreman_xen/cache_refresh') %> +<%= compute_specific_js(compute_resource, 'foreman_xen/populate_fields') %>