1 _kiwi
.view
.AppToolbar
= Backbone
.View
.extend({
3 'click .settings': 'clickSettings',
4 'click .startup': 'clickStartup'
7 initialize: function () {
8 // Remove the new connection/startup link if the server has disabled server changing
9 if (_kiwi
.app
.server_settings
.connection
&& !_kiwi
.app
.server_settings
.connection
.allow_change
) {
10 this.$('.startup').css('display', 'none');
14 clickSettings: function (event
) {
15 event
.preventDefault();
16 _kiwi
.app
.controlbox
.processInput('/settings');
19 clickStartup: function (event
) {
20 event
.preventDefault();
21 _kiwi
.app
.startup_applet
.view
.show();