Prechádzať zdrojové kódy

[oozie] Join widget should not be movable

Enrico Berti 11 rokov pred
rodič
commit
16b39c4b3c
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      desktop/core/static/js/ko.layout.js

+ 1 - 1
desktop/core/static/js/ko.layout.js

@@ -199,7 +199,7 @@ var Widget = function (params) {
   self.isLoading = ko.observable(typeof params.loading != "undefined" && params.loading != null ? params.loading : false);
 
   self.oozieMovable = ko.computed(function() {
-    return ["end-widget", "start-widget", "fork-widget", "decision-widget", "kill-widget"].indexOf(self.widgetType()) == - 1
+    return ["end-widget", "start-widget", "fork-widget", "decision-widget", "kill-widget", "join-widget"].indexOf(self.widgetType()) == - 1
   });
 
   self.klass = ko.computed(function () {