bugfix/HOR-3690
This commit is contained in:
@@ -72,9 +72,6 @@ var Login = function() {
|
|||||||
if (flagGettingStarted) {
|
if (flagGettingStarted) {
|
||||||
this.gettingStartedWindow.show();
|
this.gettingStartedWindow.show();
|
||||||
}
|
}
|
||||||
if (flagHeartBeat) {
|
|
||||||
processHbInfo();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
@@ -378,19 +375,6 @@ Login.initComponents = function()
|
|||||||
//Ext.getCmp('login-form').hide();
|
//Ext.getCmp('login-form').hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
processHbInfo = function() {
|
|
||||||
Ext.Ajax.request({
|
|
||||||
url : '../services/processHeartBeat_Ajax' ,
|
|
||||||
params : {action:'processInformation'},
|
|
||||||
success: function ( result, request ) {
|
|
||||||
//console.info("");
|
|
||||||
},
|
|
||||||
failure: function ( result, request) {
|
|
||||||
//Ext.MessageBox.alert(_('ID_FAILED'), result.responseText);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
Login.forgotPassword = function()
|
Login.forgotPassword = function()
|
||||||
{
|
{
|
||||||
this.window.hide();
|
this.window.hide();
|
||||||
|
|||||||
@@ -49,15 +49,6 @@ if(flagForgotPassword == 'on' || flagForgotPassword == '1') {
|
|||||||
|
|
||||||
var panel;
|
var panel;
|
||||||
|
|
||||||
function processHbInfo() {
|
|
||||||
ajax_server = "../services/processHeartBeat_Ajax.php";
|
|
||||||
parameters = "action=processInformation";
|
|
||||||
method = "POST";
|
|
||||||
callback = "";
|
|
||||||
asynchronous = true;
|
|
||||||
ajax_post(ajax_server, parameters, method, callback, asynchronous);
|
|
||||||
};
|
|
||||||
|
|
||||||
function showGettingStarted() {
|
function showGettingStarted() {
|
||||||
panel = new leimnud.module.panel();
|
panel = new leimnud.module.panel();
|
||||||
panel.options = {
|
panel.options = {
|
||||||
@@ -95,9 +86,6 @@ var saveConfig = function() {
|
|||||||
|
|
||||||
var dynaformOnload = function() {
|
var dynaformOnload = function() {
|
||||||
setFocus(getField('USR_USERNAME'));
|
setFocus(getField('USR_USERNAME'));
|
||||||
if (flagHeartBeat) {
|
|
||||||
processHbInfo();
|
|
||||||
}
|
|
||||||
if (flagGettingStarted) {
|
if (flagGettingStarted) {
|
||||||
showGettingStarted();
|
showGettingStarted();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -102,15 +102,6 @@ if(flagForgotPassword == 'on' || flagForgotPassword == '1') {
|
|||||||
|
|
||||||
var panel;
|
var panel;
|
||||||
|
|
||||||
function processHbInfo() {
|
|
||||||
ajax_server = "../services/processHeartBeat_Ajax.php";
|
|
||||||
parameters = "action=processInformation";
|
|
||||||
method = "POST";
|
|
||||||
callback = "";
|
|
||||||
asynchronous = true;
|
|
||||||
ajax_post(ajax_server, parameters, method, callback, asynchronous);
|
|
||||||
};
|
|
||||||
|
|
||||||
function showGettingStarted() {
|
function showGettingStarted() {
|
||||||
panel = new leimnud.module.panel();
|
panel = new leimnud.module.panel();
|
||||||
panel.options = {
|
panel.options = {
|
||||||
@@ -148,9 +139,6 @@ var saveConfig = function() {
|
|||||||
|
|
||||||
var dynaformOnload = function() {
|
var dynaformOnload = function() {
|
||||||
setFocus(getField('USR_USERNAME'));
|
setFocus(getField('USR_USERNAME'));
|
||||||
if (flagHeartBeat) {
|
|
||||||
processHbInfo();
|
|
||||||
}
|
|
||||||
if (flagGettingStarted) {
|
if (flagGettingStarted) {
|
||||||
showGettingStarted();
|
showGettingStarted();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user