Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 15fc721

Browse files
committed
some cleanup
1 parent 8903b40 commit 15fc721

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

js/views/settingsVw.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -991,34 +991,6 @@ module.exports = Backbone.View.extend({
991991
},
992992

993993
launchServerConfig: function() {
994-
// var serverConnectModal = new ServerConnectModal({
995-
// includeCloseButton: true,
996-
// initialState: {
997-
// status: 'connected'
998-
// }
999-
// }).render().open();
1000-
1001-
// this.serverConnectSyncHandler &&
1002-
// this.stopListening(app.serverConfig, null, this.serverConnectSyncHandler);
1003-
1004-
// this.serverConnectSyncHandler = function() {
1005-
// // todo: bit of a hack to hide the close button. really, the
1006-
// // modal api should provide this if we want to allow
1007-
// // this type of stuff.
1008-
// serverConnectModal.$('.js-modal-close').hide();
1009-
// };
1010-
1011-
// this.listenTo(app.serverConfig, 'sync', this.serverConnectSyncHandler);
1012-
1013-
// serverConnectModal.on('connected', function() {
1014-
// location.reload();
1015-
// });
1016-
1017-
// serverConnectModal.on('close', function() {
1018-
// serverConnectModal.remove();
1019-
// this.stopListening(app.serverConfig, null, this.serverConnectSyncHandler);
1020-
// });
1021-
1022994
app.serverConnectModal.open();
1023995
},
1024996

0 commit comments

Comments
 (0)