mirror of
https://github.com/nasa/openmct.git
synced 2025-01-07 21:58:44 +00:00
783d2f332b
Add directive for exposing expressions which should be evaluated for the browser's onbeforeunload event, to prevent user-initiated navigation from causing a loss of unsaved changes. WTD-1035.
12 lines
341 B
HTML
12 lines
341 B
HTML
<div content="jquery-wrapper"
|
|
class="abs holder-all edit-mode"
|
|
ng-controller="EditController as editMode"
|
|
mct-before-unload="editMode.getUnloadWarning()">
|
|
|
|
<mct-representation key="'edit-object'" mct-object="editMode.navigatedObject()">
|
|
</mct-representation>
|
|
|
|
<mct-include key="'bottombar'"></mct-include>
|
|
|
|
</div>
|