This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments