Fixed gh-318 so that default and other none database fields will not trigger SQL update and version increment. Fixed gh-317 that had conflict variable naming in the jsonToString helper method. Improved the refresh method for JCB package area.
This commit is contained in:
@@ -36,13 +36,14 @@ JHtml::_('behavior.keepalive');
|
||||
<?php else: ?>
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if ('refresh' === task){
|
||||
if ('joomla_component.refresh' === task){
|
||||
jQuery('#loading').css('display', 'block');
|
||||
// clear the history
|
||||
jQuery.jStorage.flush();
|
||||
// now start the update
|
||||
autoJCBpackageInfo();
|
||||
jQuery('#loading').hide();
|
||||
// also clear the session memory around the component list
|
||||
Joomla.submitform(task);
|
||||
} else {
|
||||
var form = document.getElementById('adminForm');
|
||||
// do field validation
|
||||
|
@@ -59,7 +59,7 @@ class ComponentbuilderViewImport_joomla_components extends JViewLegacy
|
||||
// add title to the page
|
||||
JToolbarHelper::title(JText::_('COM_COMPONENTBUILDER_JCB_PACKAGE_IMPORT'),'upload');
|
||||
// add refesh button.
|
||||
JToolBarHelper::custom('refresh', 'refresh', '', 'COM_COMPONENTBUILDER_REFRESH', false);
|
||||
JToolBarHelper::custom('joomla_component.refresh', 'refresh', '', 'COM_COMPONENTBUILDER_REFRESH', false);
|
||||
}
|
||||
// get the session object
|
||||
$session = JFactory::getSession();
|
||||
|
Reference in New Issue
Block a user