|
@@ -224,6 +224,8 @@ ${ dashboard.import_bindings() }
|
|
|
<script src="${ static('oozie/js/bundle-editor.ko.js') }" type="text/javascript" charset="utf-8"></script>
|
|
<script src="${ static('oozie/js/bundle-editor.ko.js') }" type="text/javascript" charset="utf-8"></script>
|
|
|
<script src="${ static('oozie/js/editor2-utils.js') }" type="text/javascript" charset="utf-8"></script>
|
|
<script src="${ static('oozie/js/editor2-utils.js') }" type="text/javascript" charset="utf-8"></script>
|
|
|
|
|
|
|
|
|
|
+<script src="${ static('desktop/ext/js/jquery/plugins/jquery.hotkeys.js') }"></script>
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
|
var viewModel = new BundleEditorViewModel(${ bundle_json | n,unicode }, ${ coordinators_json | n,unicode }, ${ can_edit_json | n,unicode });
|
|
var viewModel = new BundleEditorViewModel(${ bundle_json | n,unicode }, ${ coordinators_json | n,unicode }, ${ can_edit_json | n,unicode });
|
|
@@ -257,6 +259,11 @@ ${ dashboard.import_bindings() }
|
|
|
$("#chooseCoordinatorDemiModal").modal({
|
|
$("#chooseCoordinatorDemiModal").modal({
|
|
|
show: false
|
|
show: false
|
|
|
});
|
|
});
|
|
|
|
|
+ $(window).bind("keydown", "esc", function () {
|
|
|
|
|
+ if ($(".demi-modal.fade.in").length > 0) {
|
|
|
|
|
+ $(".demi-modal.fade.in .demi-modal-chevron").click();
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|