',{class:"palette-module-button-group"}).appendTo(buttonRow);
+
+ var updateButton = $('
').html(RED._('palette.editor.update')).appendTo(buttonGroup);
+ updateButton.click(function(evt) {
+ evt.preventDefault();
+ })
+
+
var removeButton = $('
').html(RED._('palette.editor.remove')).appendTo(buttonGroup);
removeButton.click(function(evt) {
evt.preventDefault();
@@ -489,6 +528,7 @@ RED.palette.editor = (function() {
var shade = $('
').appendTo(container);
object.elements = {
+ updateButton: updateButton,
removeButton: removeButton,
enableButton: enableButton,
setCount: setCount,
@@ -621,6 +661,7 @@ RED.palette.editor = (function() {
refreshButton.click(function(e) {
e.preventDefault();
loadedList = [];
+ loadedIndex = {};
initInstallTab();
})
diff --git a/red/api/locales/en-US/editor.json b/red/api/locales/en-US/editor.json
index ab3cf05cd..0f63fa6f8 100644
--- a/red/api/locales/en-US/editor.json
+++ b/red/api/locales/en-US/editor.json
@@ -256,6 +256,7 @@
"enable": "enable",
"disable": "disable",
"remove": "remove",
+ "update": "update to __version__",
"install": "install",
"installed": "installed",
"loading": "Loading catalogues...",