mozilla install still broken. I'd really like a chance to use Venkman again
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Jul 2005 07:14:50 +0000 (07:14 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Jul 2005 07:14:50 +0000 (07:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1182 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/install.js

index 5751b1f..2f1acd8 100644 (file)
@@ -10,7 +10,7 @@ var XpiInstaller = {
        extVersion: '0.0.4',
        extAuthor: 'GPLS',
        extLocaleNames: ['en-US'], //null, // e.g. ['en-US', 'en-GB']
-       extSkinNames: null, // e.g. ['classic', 'modern']
+       extSkinNames: null, // e.g. ['classic', 'modern']  I have this broken
        extPostInstallMessage: 'Success! Please restart your browser to finish the installation.', // Set to null for no post-install message
        // --- Editable items end ---
 
@@ -68,11 +68,8 @@ var XpiInstaller = {
                }
 
                // Register skins
-               for (var skin in this.extSkinNames)
-               {
-                       var regPath = 'skin/' + this.extSkinNames[skin] + '/' + this.extShortName + '/';
-                       Install.registerChrome(Install.SKIN | installType, jarPath, regPath);
-               }
+               var regPath = 'skin/' + this.extShortName + '/';
+               Install.registerChrome(Install.SKIN | installType, jarPath, regPath);
 
                // Perform install
                var err = Install.performInstall();
@@ -116,7 +113,8 @@ var XpiInstaller = {
        }
 };
 
-/* XpiInstaller.install(); */
+XpiInstaller.install(); 
+/* 
 Install.alert('The install.js file for Evergreen is currently broken for Mozilla browsers.  Any volunteers for fixing this?  The problem I see is with registering the skin component.  The install.rdf for Firefox should work');
 Install.cancelInstall(Install.INSTALL_CANCELLED);
-
+*/