Fix the build
1. Update chrome version because v40 fails to clear the session store 2. Add message view to test page and fix bad reference to chrome 3. Update the message view template in tests with new timestmap markup // FREEBIE
This commit is contained in:
parent
d607996cf8
commit
038e263023
4 changed files with 16 additions and 11 deletions
|
@ -124,7 +124,11 @@
|
|||
},
|
||||
onClosed: function(callback) {
|
||||
// assumes only one front end window
|
||||
return chrome.app.window.getAll()[0].onClosed.addListener(callback);
|
||||
if (window.chrome && chrome.app && chrome.app.window) {
|
||||
return chrome.app.window.getAll()[0].onClosed.addListener(callback);
|
||||
} else {
|
||||
window.addEventListener('beforeunload', callback);
|
||||
}
|
||||
},
|
||||
|
||||
drawAttention: function(window_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue