diff --git a/src/index-template.html b/src/index-template.html
index 1df212d..48b23f1 100644
--- a/src/index-template.html
+++ b/src/index-template.html
@@ -539,6 +539,11 @@
{{ 'Remove' | translate }}
+
+
+ {{ 'Move to Top' | translate }}
+
diff --git a/src/js/ctrls/main.js b/src/js/ctrls/main.js
index e7f2215..bab49a8 100644
--- a/src/js/ctrls/main.js
+++ b/src/js/ctrls/main.js
@@ -686,6 +686,9 @@ export default angular
scope.moveUp = function(d) {
rpc.once("changePosition", [d.gid, -1, "POS_CUR"]);
};
+ scope.moveToTop = function(d) {
+ rpc.once("changePosition", [d.gid, 0, "POS_SET"]);
+ };
}
])
.filter("objFilter", function() {