#342 small fix
This commit is contained in:
parent
50daf11ef3
commit
61891e9bca
@ -1,3 +1,13 @@
|
||||
function getParameterByName(name, url) {
|
||||
if (!url) url = window.location.href;
|
||||
name = name.replace(/[\[\]]/g, "\\$&");
|
||||
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
|
||||
results = regex.exec(url);
|
||||
if (!results) return null;
|
||||
if (!results[2]) return '';
|
||||
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
function init_saimod_sys_login() {
|
||||
//jqBootstrapValidation
|
||||
$("#login_form input").not("[type=submit]").jqBootstrapValidation({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user