From ec337b61afcec3c2906d051dae361b97bbda9648 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Mon, 29 Dec 2014 17:54:18 +0100 Subject: [PATCH] Firefox: implement vAPI.app.restart --- platform/firefox/vapi-background.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index e241ef3..cbd2dfd 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -51,7 +51,10 @@ vAPI.app = { /******************************************************************************/ -vAPI.app.restart = function() {}; +vAPI.app.restart = function() { + // Observing in bootstrap.js + Services.obs.notifyObservers(null, location.host + '-restart', null); +}; /******************************************************************************/