Skip to content

Commit

Permalink
Merge pull request #5878 from jmchilton/fixbuild
Browse files Browse the repository at this point in the history
Minor build fixes.
  • Loading branch information
nsoranzo committed Apr 12, 2018
2 parents acff3b2 + fa1231e commit 1583db7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/galaxy/scripts/mvc/workflow/workflow-connector.js
Expand Up @@ -43,8 +43,8 @@ $.extend(Connector.prototype, {
this.canvas.style.zIndex = "300";
}
}
this.canvas.setAttribute("handle1-id", handle1 ? handle1.element.getAttribute("id") : "");
this.canvas.setAttribute("handle2-id", handle2 ? handle2.element.getAttribute("id") : "");
this.canvas.setAttribute("handle1-id", handle1 && handle1.element.getAttribute ? handle1.element.getAttribute("id") : "");
this.canvas.setAttribute("handle2-id", handle2 && handle2.element.getAttribute ? handle2.element.getAttribute("id") : "");
var relativeLeft = e => $(e).offset().left - canvas_container.offset().left;
var relativeTop = e => $(e).offset().top - canvas_container.offset().top;
if (!handle1 || !handle2) {
Expand Down
4 changes: 2 additions & 2 deletions test/selenium_tests/test_workflow_editor.py
Expand Up @@ -26,7 +26,7 @@ def test_data_input(self):

name = self.workflow_create_new()
editor.canvas_body.wait_for_visible()
menu_element = editor.tool_menu.wait_for_visible()
editor.tool_menu.wait_for_visible()
editor.tool_menu_section_link(section_name="inputs").wait_for_and_click()
editor.tool_menu_item_link(section_name="inputs", item_name="data_input").wait_for_and_click()
self.screenshot("workflow_editor_data_input_new")
Expand All @@ -53,7 +53,7 @@ def test_collection_input(self):

name = self.workflow_create_new()
editor.canvas_body.wait_for_visible()
menu_element = editor.tool_menu.wait_for_visible()
editor.tool_menu.wait_for_visible()
editor.tool_menu_section_link(section_name="inputs").wait_for_and_click()
editor.tool_menu_item_link(section_name="inputs", item_name="data_collection_input").wait_for_and_click()
self.screenshot("workflow_editor_data_input_collection_new")
Expand Down

0 comments on commit 1583db7

Please sign in to comment.