Repository: incubator-airflow Updated Branches: refs/heads/v1-10-test bd4937b56 -> c01a12eda
[AIRFLOW-2654] Fix incorret URL on refresh in Graph View of FAB UI - Fix incorrect URL requested on pressing the refresh button in the graph view. (cherry picked from commit 8dc54e6e0034eec1511453e168499931348f684c) Signed-off-by: Bolke de Bruin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/c01a12ed Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/c01a12ed Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/c01a12ed Branch: refs/heads/v1-10-test Commit: c01a12eda27609c7150ec05d91aed4c32368ac5c Parents: bd4937b Author: Kaxil Naik <[email protected]> Authored: Wed Jun 20 23:40:04 2018 +0100 Committer: Bolke de Bruin <[email protected]> Committed: Wed Jun 27 22:15:01 2018 +0200 ---------------------------------------------------------------------- airflow/www_rbac/templates/airflow/graph.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/c01a12ed/airflow/www_rbac/templates/airflow/graph.html ---------------------------------------------------------------------- diff --git a/airflow/www_rbac/templates/airflow/graph.html b/airflow/www_rbac/templates/airflow/graph.html index 35f79b6..d56c5b7 100644 --- a/airflow/www_rbac/templates/airflow/graph.html +++ b/airflow/www_rbac/templates/airflow/graph.html @@ -1,13 +1,13 @@ -{# +{# Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -350,7 +350,7 @@ $("#loading").css("display", "block"); $("div#svg_container").css("opacity", "0.2"); $.get( - "/airflow/object/task_instances", + "{{ url_for('Airflow.task_instances') }}", {dag_id : "{{ dag.dag_id }}", execution_date : "{{ execution_date }}"}) .done( function(task_instances) {
