diff -r 0f2326c2a325 -r 1c3b8676e58c ginebra2/chrome/bedrockchrome/historyview.superpage/clearhistorydialog.js --- a/ginebra2/chrome/bedrockchrome/historyview.superpage/clearhistorydialog.js Wed Jun 23 17:59:43 2010 +0300 +++ b/ginebra2/chrome/bedrockchrome/historyview.superpage/clearhistorydialog.js Tue Jul 06 14:03:49 2010 +0300 @@ -12,26 +12,22 @@ function writeClearHistoryDialog() { - var message = window.localeDelegate.translateText("txt_browser_history_delete_are_you_sure"); - //Following string to be localized - BR-2979 - //var message = "Clear All History ?"; + var message = window.localeDelegate.translateText("txt_browser_history_delete_are_you_sure"); var html = - '
'+ - '
'+ - '
'+message +'
' + - '
' + - '
'+ - '
'+ - '
'+ - '
' + /*body*/ - '
'; - + '
'+message +'
' + + '
' + + '
'+ + '
'+ + '
' + + '
' + + '
'; document.write(html); } function showClearHistoryDialog() { try{ - window.snippets.ClearHistoryDialogId.show(false); + window.snippets.ClearHistoryDialogId.show(false); + window.snippets.RecentUrlViewToolbarId.enabled = false; }catch(e){ alert(e); } } @@ -39,9 +35,10 @@ { window.bookmarksManager.clearHistory(); window.views.WebView.reload(); - window.snippets.ClearHistoryDialogId.hide(); + clearHistoryDialogIdHide(); } function clearHistoryDialogIdHide(){ window.snippets.ClearHistoryDialogId.hide(); + window.snippets.RecentUrlViewToolbarId.enabled = true; }