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:
@@ -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>
|
Reference in New Issue
Block a user