From 70575a0f2029a4f1732ad8933b19c5b86d2b1985 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 25 Mar 2013 10:15:15 -0700 Subject: [PATCH] Go to browse mode after disconnecting (fixes #1121) --- js/id/operations/disconnect.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/id/operations/disconnect.js b/js/id/operations/disconnect.js index e64653626..48149bb03 100644 --- a/js/id/operations/disconnect.js +++ b/js/id/operations/disconnect.js @@ -4,6 +4,7 @@ iD.operations.Disconnect = function(selection, context) { var operation = function() { context.perform(action, t('operations.disconnect.annotation')); + context.enter(iD.modes.Browse(context)); }; operation.available = function() {