소스 검색

HUE-3634 [editor] Reset editor URL when clearing history not on a saved query

Romain Rigaux 9 년 전
부모
커밋
7de680c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

+ 1 - 0
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -1324,6 +1324,7 @@
         if (self.isHistory()) {
           self.id(null);
           self.uuid(UUID());
+          hueUtils.changeURL('/notebook/editor');
         }
       }).fail(function (xhr) {
         $(document).trigger("error", xhr.responseText);