--- Ezequiel Calderara <[EMAIL PROTECTED]> wrote:

> this is what showcase does:
> 
> showWelcomeScreenIfNeeded: function() {
>         if (ShowcaseCache.prefs.getBoolPref("firstRunRedirection")) {
>           var currentVersion = ShowcaseCache.prefs.getCharPref
> ("currentVersion");
> 
>           if (currentVersion != "0.9.4.6") {
>             ShowcaseCache.prefs.setCharPref("currentVersion", "0.9.4.6");
>             var targetURL;
>             if (currentVersion == "none") {
>               targetURL = "http://showcase.uworks.net/welcome.html";;
>             } else {
>               targetURL = "http://showcase.uworks.net/updated.html";;
>             }
>             var newTab = getBrowser().addTab(targetURL);
>             getBrowser().selectedTab = newTab;
>           }
>         }
>       },


A nice enhancement to the below code would be to change 
http://showcase.uworks.net/updated.html to
instead point to the newly-installed version. Example:
http://showcase.uworks.net/updated.html#0.9.4.6
or
http://showcase.uworks.net/updates/0.9.4.6.html
This way the user can easily read release notes specifically for his update.



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to