Explorar o código

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

Could be a fetchResult() or executeStatement()
Romain Rigaux %!s(int64=9) %!d(string=hai) anos
pai
achega
d6010d0

+ 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');