Эх сурвалжийг харах

HUE-4242 [editor] Retry should use generic callback for the current operation

Could be a fetchResult() or executeStatement()
Romain Rigaux 9 жил өмнө
parent
commit
d6010d0d01

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

@@ -653,7 +653,9 @@
           huePubSub.publish('hide.retry.modal');
         }
         notebook.retryModalConfirm = function () {
-          self.execute();
+          if (callback) {
+            callback();
+          };
           huePubSub.publish('hide.retry.modal');
         }
         huePubSub.publish('show.retry.modal');