summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenyu Wu <Adam_5Wu@hotmail.com>2018-03-20 17:07:36 -0400
committerZhenyu Wu <Adam_5Wu@hotmail.com>2018-03-20 17:07:51 -0400
commit79a4b9dd44ecae6bcb5a446100c8af7562f3279a (patch)
tree28fcc167e88d804de457e8868173cc6987249373
parent06194ae3ec16dfbdd293c2457f6b3b21339d77f3 (diff)
downloadphpvirtualbox-79a4b9dd44ecae6bcb5a446100c8af7562f3279a.zip
phpvirtualbox-79a4b9dd44ecae6bcb5a446100c8af7562f3279a.tar.gz
phpvirtualbox-79a4b9dd44ecae6bcb5a446100c8af7562f3279a.tar.bz2
Properly disable snapshot pane when VMConsole has been disabled
-rw-r--r--panes/tabVMSnapshots.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/panes/tabVMSnapshots.html b/panes/tabVMSnapshots.html
index c91a14b..ddd0530 100644
--- a/panes/tabVMSnapshots.html
+++ b/panes/tabVMSnapshots.html
@@ -567,7 +567,7 @@ $('#vboxPane').on('vmSelectionListChanged',function(){
// No single selected VM or it is host
} else {
// disable tab
- $('#vboxTabVMConsole').parent().trigger('disableTab', ['vboxTabVMSnapshots']);
+ $('#vboxTabVMSnapshots').parent().trigger('disableTab', ['vboxTabVMSnapshots']);
$('#vboxTabVMSnapshots').data('lastVM',0);
}