BUGFIX: Make application frame selectable

It was not possible to activate application frame.
Now the condition is fixed and also css class is fixed.

Therefore one can select to see only application frames.
This commit is contained in:
Daniel Siepmann
2017-11-17 11:39:50 +01:00
parent 9f640a4f12
commit e3ddc1b1b2
@@ -1,13 +1,13 @@
<div class="frames-description <?php echo $has_frames_tabs ? 'frames-description-application' : '' ?>">
<?php if ($has_frames_tabs): ?>
<?php if ($active_frames_tab == 'application'): ?>
<a href="#" id="application-frames-tab" class="frames-tab frames-tab-active">
Application frames (<?php echo $frames->countIsApplication() ?>)
</a>
<?php else: ?>
<span href="#" id="application-frames-tab" class="frames-tab">
<span href="#" id="application-frames-tab" class="frames-tab frames-tab-active">
Application frames (<?php echo $frames->countIsApplication() ?>)
</span>
<?php else: ?>
<a href="#" id="application-frames-tab" class="frames-tab">
Application frames (<?php echo $frames->countIsApplication() ?>)
</a>
<?php endif; ?>
<a href="#" id="all-frames-tab" class="frames-tab <?php echo $active_frames_tab == 'all' ? 'frames-tab-active' : '' ?>">
All frames (<?php echo count($frames) ?>)
@@ -17,4 +17,4 @@
Stack frames (<?php echo count($frames) ?>)
</span>
<?php endif; ?>
</div>
</div>