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

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Gavin Panella
  • Date: 2012-03-15 17:10:38 UTC
  • mfrom: (288.2.5 MaaS-to-MAAS)
  • Revision ID: ed@carob-20120315171038-vwgdkkyodun9fqo4
[r=rvb][bug=][author=allenap] MaaS is now known as MAAS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
        // Prepare spinnerNode.
188
188
        this.spinnerNode = Y.Node.create('<img />')
189
189
            .addClass('spinner')
190
 
            .set('src', MaaS_config.uris.statics + 'img/spinner.gif');
 
190
            .set('src', MAAS_config.uris.statics + 'img/spinner.gif');
191
191
        // Prepare logged-off error message.
192
192
        this.loggedOffNode = Y.Node.create('<span />')
193
193
            .set('text', "You have been logged out, please ")
194
194
            .append(Y.Node.create('<a />')
195
195
                .set('text', 'log in')
196
 
                .set('href', MaaS_config.uris.login))
 
196
                .set('href', MAAS_config.uris.login))
197
197
            .append(Y.Node.create('<span />')
198
198
                .set('text', ' again.'));
199
199
    },
255
255
            }
256
256
        };
257
257
        var request = module._io.send(
258
 
            MaaS_config.uris.nodes_handler, cfg);
 
258
            MAAS_config.uris.nodes_handler, cfg);
259
259
    }
260
260
 
261
261
});