[Pkg-mozext-commits] [personasplus] 28/76: Installing a theme from Random Selection From Featured adds the theme to My Recently Selected

David Prévot taffit at moszumanska.debian.org
Fri Aug 4 21:45:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository personasplus.

commit 733ff4418c17d9ee708f2afb8c19f8c7f7b42e42
Author: Baris Derin <baris at barisderin.com>
Date:   Sat Aug 13 19:53:58 2016 +0300

    Installing a theme from Random Selection From Featured adds the theme to My Recently Selected
    
    Installing a theme from Random Selection From Featured adds the theme
    to My Recently Selected
---
 extension/modules/service.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extension/modules/service.js b/extension/modules/service.js
index d7e4740..0a02ec6 100644
--- a/extension/modules/service.js
+++ b/extension/modules/service.js
@@ -735,6 +735,7 @@ var PersonaService = {
     changeToRandomPersona: function(category) {
         this.category = category;
         this.currentPersona = this._getRandomPersonaFromCategory(category);
+        this._addPersonaToRecent(this.currentPersona);
         this.selected = "random";
         this._prefs.set("persona.lastChanged", new Date().getTime().toString());
         this._notifyPersonaChanged(this.currentPersona);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git



More information about the Pkg-mozext-commits mailing list