Changeset 250d2d


Ignore:
Timestamp:
Sep 15, 2010, 5:16:02 PM (11 years ago)
Author:
rene <just@…>
Branches:
ng_0.6, ng_0.8, ng_0.9
Children:
90ff39
Parents:
ee52fc
Message:

use the same script for deactivation of extension

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_getHeader.js

    ree52fc r250d2d  
    348348
    349349                if (extension.id == this.MY_EXTENSION_UUID) {
    350                     if (data == "item-uninstalled") {
     350                    if ((data == "item-uninstalled") || (data == "item-disabled")) {
    351351                        this._uninstall = true;
    352352                    } else if (data == "item-cancel-action") {
     
    357357                if (this._uninstall) {
    358358                    /* uninstall stuff. */
    359                     vI_notificationBar.dump("## vI_uninstall: _uninstall \n");
     359                    vI_notificationBar.dump("## vI_uninstall: uninstall/disabledment \n");
    360360                    vI_prepareHeader.removeExtraHeader();
    361                     vI_notificationBar.dump("## vI_uninstall: _uninstall done\n");
     361                    vI_notificationBar.dump("## vI_uninstall: uninstall/disablement done\n");
    362362                }
    363363                this.unregister();
Note: See TracChangeset for help on using the changeset viewer.