Commit 521cc14a by Bach Dániel

dashboard: fix issue #342 (VNC vs save as)

closes #342
parent 496bcee2
...@@ -38,6 +38,13 @@ $(function() { ...@@ -38,6 +38,13 @@ $(function() {
e.preventDefault(); e.preventDefault();
}); });
/* save as (close vnc console) */
$('.operation-save_as_template').click(function(e) {
if ($('li.active > a[href$="console"]').length > 0) {
$('a[data-toggle$="pill"][href$="#activity"]').click();
}
});
/* remove tag */ /* remove tag */
$('.vm-details-remove-tag').click(function() { $('.vm-details-remove-tag').click(function() {
var to_remove = $.trim($(this).parent('div').text()); var to_remove = $.trim($(this).parent('div').text());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment