TO BE TESTED: New step in the wizard confirmation of the URL to be used for accessing the application.

SVN:trunk[1348]
This commit is contained in:
Denis Flaven
2011-07-22 11:55:41 +00:00
parent 0e75824247
commit b80cc36fb5
2 changed files with 91 additions and 21 deletions

View File

@@ -103,10 +103,29 @@ function DoSubmit(sMsg, iStep)
}
break;
case 6: // Sample data selection
case 6: // application path
var appPath = new String($('#application_path').val());
if (appPath == '')
{
alert('Please specify the URL to the application');
bResult = false;
}
else
{
var bMatch = appPath.match(/^http(?:s)?\:\/\//);
if (!bMatch)
{
alert('"'+appPath+'" does not look like a valid URL for the application...\nPlease check your input.');
bResult = false;
}
}
break;
case 7: // Display Summary: launch DoUpdateDBSchema to start the asynchronous update
case 7: // Sample data selection
break;
case 8: // Display Summary: launch DoUpdateDBSchema to start the asynchronous update
bResult = DoUpdateDBSchema();
break;