equal
deleted
inserted
replaced
1 //clearhistorydialog.js |
1 //clearhistorydialog.js |
2 |
2 |
3 function clearHistoryDialog() |
3 function clearHistoryDialog() |
4 { |
4 { |
5 window.bookmarksManager.confirmHistoryClear.connect(showClearHistoryDialog); |
5 window.historyManager.confirmHistoryClear.connect(showClearHistoryDialog); |
6 |
6 |
7 this.write = writeClearHistoryDialog; |
7 this.write = writeClearHistoryDialog; |
8 // do setup |
8 // do setup |
9 this.write(); |
9 this.write(); |
10 |
10 |
31 }catch(e){ alert(e); } |
31 }catch(e){ alert(e); } |
32 } |
32 } |
33 |
33 |
34 function clearAllHistoryDialog() |
34 function clearAllHistoryDialog() |
35 { |
35 { |
36 window.bookmarksManager.clearHistory(); |
36 window.historyManager.clearHistory(); |
37 window.views.WebView.reload(); |
37 window.views.WebView.reload(); |
38 clearHistoryDialogIdHide(); |
38 clearHistoryDialogIdHide(); |
39 } |
39 } |
40 |
40 |
41 function clearHistoryDialogIdHide(){ |
41 function clearHistoryDialogIdHide(){ |