[mod] getBaseUrl moved to its own file

This commit is contained in:
2018-08-12 09:07:48 -06:00
parent cb5d30b4e0
commit 697d0fe769
4 changed files with 13 additions and 6 deletions

View File

@@ -1,10 +1,5 @@
function getbaseUrl(uriPath){
var url = window.location.href;
return url.substring(0, url.indexOf(uriPath));
}
function processLogin() {
var baseUrl = getbaseUrl('/html/');
var baseUrl = getbaseUrl();
var parametros = {
"userName":$('#userName').val(),