fixed bug with scrollIntoViewIfNeeded, when up key pressed

This commit is contained in:
coderaiser 2012-09-03 07:04:30 -04:00
parent 9a0fb1cc67
commit 3fe6943237
4 changed files with 419 additions and 375 deletions

View file

@ -737,6 +737,16 @@ CloudClient.Utils = (function(){
lPanel.className = 'panel hidden';
};
this.scrollIntoViewIfNeeded = function(pElement){
var lOk = true;
if(pElement && pElement.scrollIntoViewIfNeeded)
pElement.scrollIntoViewIfNeeded();
else lOk = false;
return lOk;
};
this.CloudStatus = [];
this.addCloudStatus = function(pStatus){