Skip to content
Permalink
Browse files

Bugfix issue 146

  • Loading branch information...
Theophilix committed Jun 2, 2019
1 parent e27aa39 commit 96f69e4f18fabfbf251adf2083e15fb1fd96c204
Showing with 22 additions and 2 deletions.
  1. +22 −2 admin/views/csvimport/tmpl/default.php
@@ -35,9 +35,29 @@
}
function checkTableName() {
if (jQuery('#tableName').val() == '') {
return false;
$val = jQuery('input[name=importaction]:checked').val();
if($val == 'newTable')
{
if (jQuery('#tableName').val() == '') {
return false;
}
}
if($val == 'overwriteTable')
{
if (jQuery('#tableList').val() == '') {
return false;
}
}
if($val == 'appendTable')
{
if (jQuery('#tableList1').val() == '') {
return false;
}
}
return true;
}
</script>

0 comments on commit 96f69e4

Please sign in to comment.
You can’t perform that action at this time.