Remove focus on prefix field (buggy on device)

This commit is contained in:
mossroy 2013-07-27 20:40:27 +02:00
parent b9b90a3832
commit 29520d0727

View File

@ -136,9 +136,8 @@ define(function(require) {
localArchive.readMathFilesFromStorage(storage, archiveDirectory);
localArchive.readMetadataFileFromStorage(storage, archiveDirectory);
localArchive.readCoordinateFilesFromStorage(storage, archiveDirectory, 0);
// The archive is set : focus on the prefix field to start searching
// The archive is set : go back to home page to start searching
$("#btnHome").click();
document.getElementById("prefix").focus();
}
/**
@ -155,9 +154,8 @@ define(function(require) {
function setLocalArchiveFromFileSelect() {
localArchive = new evopediaArchive.LocalArchive();
localArchive.initializeFromArchiveFiles(document.getElementById('archiveFiles').files);
// The archive is set : focus on the prefix field to start searching
// The archive is set : go back to home page to start searching
$("#btnHome").click();
document.getElementById("prefix").focus();
}
/**