diff --git a/client/app/components/blueprints/blueprint-editor/_blueprint-editor.sass b/client/app/components/blueprints/blueprint-editor/_blueprint-editor.sass index 72dfbd413..8f5fea354 100644 --- a/client/app/components/blueprints/blueprint-editor/_blueprint-editor.sass +++ b/client/app/components/blueprints/blueprint-editor/_blueprint-editor.sass @@ -5,6 +5,9 @@ .wait-cursor cursor: wait +.inline-breadcrumb + display: inline-block + .blueprint-designer-header button margin-left: 10px diff --git a/client/app/components/blueprints/blueprint-editor/blueprint-editor.directive.js b/client/app/components/blueprints/blueprint-editor/blueprint-editor.directive.js index 4c052b198..789508957 100644 --- a/client/app/components/blueprints/blueprint-editor/blueprint-editor.directive.js +++ b/client/app/components/blueprints/blueprint-editor/blueprint-editor.directive.js @@ -26,7 +26,7 @@ if (toState.name === 'login') { return; } - if (fromState.name === "designer.blueprints.editor" && toState.name !== "designer.blueprints.editor") { + if ((fromState.name === "designer.blueprints.editor" || fromState.name === "") && toState.name !== "designer.blueprints.editor") { var origBlueprint = BlueprintsState.getOriginalBlueprint(); if (!BlueprintsState.doNotSave() && !angular.equals(origBlueprint, vm.blueprint) && !event.defaultPrevented) { SaveBlueprintModal.showModal(vm.blueprint, toState, toParams, fromState, fromParams); diff --git a/client/app/components/blueprints/blueprint-editor/blueprint-editor.html b/client/app/components/blueprints/blueprint-editor/blueprint-editor.html index 64b8565ad..1a0867378 100644 --- a/client/app/components/blueprints/blueprint-editor/blueprint-editor.html +++ b/client/app/components/blueprints/blueprint-editor/blueprint-editor.html @@ -1,9 +1,6 @@ -