From d7b715b83f968c2062dcee10112085e98ef37f73 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 18 Apr 2013 10:38:03 -0700 Subject: [PATCH] Rename widget 'plugins' to 'pluginListing' For better clarity on its function, rename the 'plugins' widget to 'pluginListing,' as it does not handle the actual plugin logic. --- ui/index.jsp | 2 +- ui/scripts/plugins.js | 4 +--- ui/scripts/ui-custom/{plugins.js => pluginListing.js} | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) rename ui/scripts/ui-custom/{plugins.js => pluginListing.js} (98%) diff --git a/ui/index.jsp b/ui/index.jsp index 46f49f00984..550661e546a 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -1681,7 +1681,7 @@ under the License. - + diff --git a/ui/scripts/plugins.js b/ui/scripts/plugins.js index 5a33d56ef9f..d3e07055299 100644 --- a/ui/scripts/plugins.js +++ b/ui/scripts/plugins.js @@ -51,7 +51,7 @@ cloudStack.sections.plugins = { title: 'label.plugins', - show: cloudStack.uiCustom.plugins + show: cloudStack.uiCustom.pluginListing }; // Load plugins @@ -70,7 +70,5 @@ ui: pluginAPI }); }); - - // Load CSS }); }(jQuery, cloudStack, require)); diff --git a/ui/scripts/ui-custom/plugins.js b/ui/scripts/ui-custom/pluginListing.js similarity index 98% rename from ui/scripts/ui-custom/plugins.js rename to ui/scripts/ui-custom/pluginListing.js index aaf95319da1..3dcce983943 100644 --- a/ui/scripts/ui-custom/plugins.js +++ b/ui/scripts/ui-custom/pluginListing.js @@ -95,7 +95,7 @@ } }; - cloudStack.uiCustom.plugins = function() { + cloudStack.uiCustom.pluginListing = function() { var plugins = cloudStack.plugins; return elems.pluginListing({