Fixed gh-340, to insure that if no selection is made, the default notice of Joomla comes-up and no submistion is made

This commit is contained in:
2018-09-14 12:44:05 +02:00
parent e200e2179d
commit 38176365de
7 changed files with 102 additions and 91 deletions

View File

@@ -102,16 +102,22 @@ jQuery('<div id="loading"></div>')
// when the clone button is clicked
jQuery('#toolbar').on('click',"button.button-save-copy", function(e){
jQuery('#loading').show();
if (document.adminForm.boxchecked.value != 0){
jQuery('#loading').show();
}
});
// when the backup button is clicked
jQuery('#toolbar').on('click',"button.button-archive", function(e){
jQuery('#loading').show();
if (document.adminForm.boxchecked.value != 0){
jQuery('#loading').show();
}
});
// when the export button is clicked
jQuery('#toolbar').on('click',"button.button-download", function(e){
jQuery('#loading').show();
if (document.adminForm.boxchecked.value != 0){
jQuery('#loading').show();
}
});
</script>