~rvb/maas/bug-1384001-redux-2

« back to all changes in this revision

Viewing changes to src/maasserver/static/js/prefs.js

  • Committer: Gavin Panella
  • Date: 2012-03-15 13:58:32 UTC
  • mto: This revision was merged to the branch mainline in revision 291.
  • Revision ID: gavin.panella@canonical.com-20120315135832-8i2rkbvp6gwdhkzt
Change MaaS to MAAS everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
            .set('id','create_token')
43
43
            .addClass('button')
44
44
            .addClass('right')
45
 
            .set('text', "+ Add MaaS key");
 
45
            .set('text', "+ Add MAAS key");
46
46
        this.status_node = Y.Node.create('<div />')
47
47
            .set('id','create_error');
48
48
        this.spinnerNode = Y.Node.create('<img />')
49
49
            .addClass('spinner')
50
 
            .set('src', MaaS_config.uris.statics + 'img/spinner.gif');
 
50
            .set('src', MAAS_config.uris.statics + 'img/spinner.gif');
51
51
        this.get('srcNode').one('#token_creation_placeholder')
52
52
            .append(this.create_link)
53
53
            .append(this.status_node);
113
113
            }
114
114
        };
115
115
        var request = module._io.send(
116
 
            MaaS_config.uris.account_handler, cfg);
 
116
            MAAS_config.uris.account_handler, cfg);
117
117
    },
118
118
 
119
119
    showSpinner: function() {
155
155
                    .set('title', 'Delete token')
156
156
                    .set(
157
157
                        'src',
158
 
                        MaaS_config.uris.statics + 'img/delete.png')))
 
158
                        MAAS_config.uris.statics + 'img/delete.png')))
159
159
            .append(Y.Node.create('<input />')
160
160
                .set('type', 'text')
161
161
                .addClass('disabled')
201
201
            }
202
202
        };
203
203
        var request = module._io.send(
204
 
            MaaS_config.uris.account_handler, cfg);
 
204
            MAAS_config.uris.account_handler, cfg);
205
205
    }
206
206
});
207
207