Mercurial > google_bookmarks_incsearch
comparison chrome/content/loader.js @ 5:8f7e53bfe0e8
not to show silly alert
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 23 May 2009 11:56:02 +0900 |
parents | c47ec96326ad |
children |
comparison
equal
deleted
inserted
replaced
4:a56fc1ec8be5 | 5:8f7e53bfe0e8 |
---|---|
32 dispLoading: function(count) { | 32 dispLoading: function(count) { |
33 this.loadingMessage.innerHTML = 'Bookmarks Loading... ' + count + '/' + this.total; | 33 this.loadingMessage.innerHTML = 'Bookmarks Loading... ' + count + '/' + this.total; |
34 }, | 34 }, |
35 dispEnd: function(count) { | 35 dispEnd: function(count) { |
36 this.loadingBox.style.display = 'none'; | 36 this.loadingBox.style.display = 'none'; |
37 Glayer.showAlert('Finish!! loaded ' + count + ' bookmarks', {callback: function(){ incsearch.input.focus(); Glayer.hideAlert(); }}); | 37 // Glayer.showAlert('Finish!! loaded ' + count + ' bookmarks', {callback: function(){ incsearch.input.focus(); Glayer.hideAlert(); }}); |
38 document.getElementById(Glayer.defaultAlert.okId).focus(); | 38 // document.getElementById(Glayer.defaultAlert.okId).focus(); |
39 | |
40 Glayer.hide(); | |
41 incsearch.input.focus(); | |
39 | 42 |
40 incsearch.reset(); | 43 incsearch.reset(); |
41 }, | 44 }, |
42 error: function(errMsg) { | 45 error: function(errMsg) { |
43 this.loadingBox.style.display = 'none'; | 46 this.loadingBox.style.display = 'none'; |