alecpl
2011-11-18 45fa64c3c9801f9719638f7fa2f4f11cc6505647
program/js/app.js
@@ -155,7 +155,7 @@
    }
    // enable general commands
    this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', true);
    this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', 'about', true);
    if (this.env.permaurl)
      this.enable_command('permaurl', true);
@@ -504,6 +504,10 @@
        this.switch_task(command);
        break;
      case 'about':
        location.href = '?_task=settings&_action=about';
        break;
      case 'permaurl':
        if (obj && obj.href && obj.target)
          return true;