mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-25 18:51:42 +02:00
Stay on panel
This commit is contained in:
@@ -421,7 +421,6 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
this.dataMap = {};
|
||||
this.datasets = {};
|
||||
this.firstTabName = null;
|
||||
this.previousPanelName = null;
|
||||
this.activePanelName = null;
|
||||
this.activeDatasetId = null;
|
||||
this.datesetTitleFormater = new DatasetTitleFormater(this);
|
||||
@@ -786,7 +785,6 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
|
||||
this.controls[name].$tab.addClass(csscls('active'));
|
||||
this.controls[name].$el.addClass(csscls('active'));
|
||||
this.previousPanelName = this.activePanelName;
|
||||
this.activePanelName = name;
|
||||
|
||||
this.$el.removeClass(csscls('minimized'));
|
||||
|
@@ -804,10 +804,6 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
|
||||
if ($(this).data('tab')) {
|
||||
debugbar.showTab($(this).data('tab'));
|
||||
} else if (debugbar.previousPanelName) {
|
||||
debugbar.showTab(debugbar.previousPanelName);
|
||||
} else {
|
||||
debugbar.showTab(debugbar.firstTabName);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user