Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Lodder committed Dec 12, 2017
1 parent ea27f5d commit c1edfed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$data = $displayData;

?>
<?php if ($data['view'] instanceof \Joomla\Component\Associations\Administrator\View\Associations\Html) : ?>
<?php if ($data['view'] instanceof \Joomla\Component\Associations\Administrator\View\Associations\HtmlView) : ?>
<?php $app = JFactory::getApplication(); ?>
<?php // We will get the component item type and language filters & remove it from the form filters. ?>
<?php if ($app->input->get('forcedItemType', '', 'string') == '') : ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
// Receive overridable options
$data['options'] = !empty($data['options']) ? $data['options'] : array();

if ($data['view'] instanceof Joomla\Component\Menus\Administrator\View\Items\HtmlView
|| $data['view'] instanceof Joomla\Component\Menus\Administrator\View\Menus\HtmlView)
if ($data['view'] instanceof \Joomla\Component\Menus\Administrator\View\Items\HtmlView
|| $data['view'] instanceof \Joomla\Component\Menus\Administrator\View\Menus\HtmlView)
{
// Client selector doesn't have to activate the filter bar.
unset($data['view']->activeFilters['client_id']);
Expand Down Expand Up @@ -47,7 +47,7 @@
<div class="js-stools clearfix">
<div class="clearfix">
<?php
if ($data['view'] instanceof Joomla\Component\Menus\Administrator\View\Items\HtmlView)
if ($data['view'] instanceof \Joomla\Component\Menus\Administrator\View\Items\HtmlView)
{
// We will get the menutype filter & remove it from the form filters
$menuTypeField = $data['view']->filterForm->getField('menutype');
Expand All @@ -69,7 +69,7 @@
</div>
<?php
}
elseif ($data['view'] instanceof Joomla\Component\Menus\Administrator\View\Menus\HtmlView)
elseif ($data['view'] instanceof \Joomla\Component\Menus\Administrator\View\Menus\HtmlView)
{
// Add the client selector before the form filters.
$clientIdField = $data['view']->filterForm->getField('client_id');
Expand Down

0 comments on commit c1edfed

Please sign in to comment.