Skip to content

Commit fca7b3e

Browse files
committed
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.
1 parent 7a4f70f commit fca7b3e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

ui/index.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ under the License.
16811681
<script type="text/javascript" src="scripts/vm_snapshots.js?t=<%=now%>"></script>
16821682

16831683
<!-- Plugins -->
1684-
<script type="text/javascript" src="scripts/ui-custom/plugins.js?t=<%=now%>"></script>
1684+
<script type="text/javascript" src="scripts/ui-custom/pluginListing.js?t=<%=now%>"></script>
16851685
<script type="text/javascript" src="plugins/plugins.js?t=<%=now%>"></script>
16861686
<script type="text/javascript" src="scripts/plugins.js?t=<%=now%>"></script>
16871687
</body>

ui/scripts/plugins.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
cloudStack.sections.plugins = {
5353
title: 'label.plugins',
54-
show: cloudStack.uiCustom.plugins
54+
show: cloudStack.uiCustom.pluginListing
5555
};
5656

5757
// Load plugins
@@ -70,7 +70,5 @@
7070
ui: pluginAPI
7171
});
7272
});
73-
74-
// Load CSS
7573
});
7674
}(jQuery, cloudStack, require));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
}
9696
};
9797

98-
cloudStack.uiCustom.plugins = function() {
98+
cloudStack.uiCustom.pluginListing = function() {
9999
var plugins = cloudStack.plugins;
100100

101101
return elems.pluginListing({

0 commit comments

Comments
 (0)