Added the [Run Expansion] button option for faster compile and install option of selected components.

This commit is contained in:
2018-09-20 21:17:07 +02:00
parent b208f4f616
commit e71ba204ca
26 changed files with 530 additions and 47 deletions

View File

@@ -85,6 +85,7 @@ if ($this->saveOrder)
</form>
<script type="text/javascript">
// joomla_components footer script
// waiting spinner
var outerDiv = jQuery('body');
jQuery('<div id="loading"></div>')
@@ -99,25 +100,26 @@ jQuery('<div id="loading"></div>')
.css("filter", "alpha(opacity = 80)")
.css("display", "none")
.appendTo(outerDiv);
// when the clone button is clicked
jQuery('#toolbar').on('click',"button.button-save-copy", function(e){
if (document.adminForm.boxchecked.value != 0){
jQuery('#loading').show();
}
});
// when the backup button is clicked
jQuery('#toolbar').on('click',"button.button-archive", function(e){
if (document.adminForm.boxchecked.value != 0){
jQuery('#loading').show();
}
});
// when the export button is clicked
jQuery('#toolbar').on('click',"button.button-download", function(e){
if (document.adminForm.boxchecked.value != 0){
jQuery('#loading').show();
}
});
// when the expand button is clicked
jQuery('#toolbar').on('click',"button.button-expand-2", function(e){
jQuery('#loading').show();
});
</script>