Parcourir la source

HUE-4116 [editor] Do not break on unsaved query

Enrico Berti il y a 9 ans
Parent
commit
211300c

+ 3 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -3215,7 +3215,9 @@ ${ hueIcons.symbols() }
       });
 
       $(document).on('shown', 'a[href="#scheduleTab"]', function(){
-        renderJqCron();
+        if (typeof renderJqCron !== 'undefined'){
+          renderJqCron();
+        }
       });
 
       $(document).on("gridShown", function (e, snippet) {