update PHP Excel
This commit is contained in:
@@ -12,15 +12,13 @@
|
||||
<script type="text/javascript">
|
||||
oPedidor.pageInit = function(asHash, bFirstPage)
|
||||
{
|
||||
//$('#header, #menu, #footer').hide();
|
||||
$('#header, #menu, #footer').hide();
|
||||
|
||||
$('#login').addDefaultValue('Nombre');
|
||||
$('#pass').addDefaultValue('Codigo');
|
||||
|
||||
$(window).keyup(function(e){if(e.which==13) logMeIn();});
|
||||
$('#validate').addButton('enter', 'Entrar', logMeIn);
|
||||
|
||||
//$('#logon').fadeIn('slow');
|
||||
oSubmitButton = $('#validate').addButton('enter', 'Entrar', logMeIn/*, '', '', false, true*/);
|
||||
};
|
||||
|
||||
//oPedidor.onFeedback = function(sType, sMsg){feedback('.credentials', sType, sMsg)};
|
||||
@@ -34,11 +32,19 @@ function logMeIn()
|
||||
getInfo
|
||||
(
|
||||
'logmein',
|
||||
function(){oPedidor.setHash(oPedidor.consts.default_page);},
|
||||
self.loadHome,
|
||||
{token:md5(sLogin)+oPedidor.consts.token_sep+getLoginToken(sPass)},
|
||||
function(sDesc){self.onFeedback('error', sDesc);}
|
||||
function(sDesc){
|
||||
//oSubmitButton.stopProcess();
|
||||
self.onFeedback('error', sDesc);
|
||||
},
|
||||
oSubmitButton
|
||||
);
|
||||
}
|
||||
else self.onFeedback('warning', 'Formulario incompleto');
|
||||
else
|
||||
{
|
||||
//oSubmitButton.stopProcess();
|
||||
self.onFeedback('warning', 'Formulario incompleto');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user