Fixed gh-338 to insure that the custom buttons work on the site view page
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="uk-alert uk-alert-danger" data-uk-alert>
|
||||
<h2><?php echo JText::_('COM_COMPONENTBUILDER_ERROR'); ?></h2>
|
||||
</div>
|
||||
|
@@ -77,7 +77,7 @@ class ComponentbuilderViewApi extends JViewLegacy
|
||||
$this->document->addScript(JURI::root(true) .'/media/com_componentbuilder/uikit-v2/js/uikit'.$size.'.js', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/javascript');
|
||||
}
|
||||
// add the document default css file
|
||||
$this->document->addStyleSheet(JURI::root(true) .'/components/com_componentbuilder/assets/css/api.css', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
|
||||
$this->document->addStyleSheet(JURI::root(true) .'/components/com_componentbuilder/assets/css/api.css', (ComponentbuilderHelper::jVersion()->isCompatible('3.8.0')) ? array('version' => 'auto') : 'text/css');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user