~ubuntu-branches/debian/stretch/downthemall/stretch

« back to all changes in this revision

Viewing changes to chrome/chrome.jar!/content/dta/manager/utils.js

  • Committer: Package Import Robot
  • Author(s): Michael Meskes
  • Date: 2013-04-02 12:42:44 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130402124244-2icfbeqdw4a8vuc8
Tags: 2.0.16-1
* Imported Upstream version 2.0.16
* Removed obsoleted DM-Upload-Allowed field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
var gMinTrayR = {};
6
6
try {
7
 
        module("resource://mintrayr/mintrayr.jsm", gMinTrayR);
 
7
        Cu.import("resource://mintrayr/mintrayr.jsm", gMinTrayR);
8
8
        var init = function() {
9
9
                let self = this;
10
10
                let _oc = Dialog.onclose;
105
105
                }
106
106
                
107
107
                let perms = Prefs.permissions;
108
 
                if (perms & 0600) {
109
 
                        perms |= 0100;
 
108
                if (perms & 384) {
 
109
                        perms |= 64;
110
110
                }
111
 
                if (perms & 0060) {
112
 
                        perms |= 0010;
 
111
                if (perms & 48) {
 
112
                        perms |= 8;
113
113
                }                               
114
 
                if (perms & 0006) {
115
 
                        perms |= 0001;
 
114
                if (perms & 6) {
 
115
                        perms |= 1;
116
116
                }
117
117
                this.dirPermissions = perms;            
118
118