Browse Source

HUE-900 [oozie] File chooser missing when editing a node for 'jar path'

- Added specific logic for 'jar path' to use file chooser
abec 13 years ago
parent
commit
9ec8b62889
1 changed files with 1 additions and 0 deletions
  1. 1 0
      apps/oozie/src/oozie/templates/editor/edit_workflow_action.mako

+ 1 - 0
apps/oozie/src/oozie/templates/editor/edit_workflow_action.mako

@@ -451,6 +451,7 @@ ${ layout.menubar(section='workflows') }
     ko.applyBindings(viewModel);
     ko.applyBindings(viewModel);
 
 
     $("input[name='job_xml']").addClass("pathChooser").after(getFileBrowseButton($("input[name='job_xml']")));
     $("input[name='job_xml']").addClass("pathChooser").after(getFileBrowseButton($("input[name='job_xml']")));
+    $("input[name='jar_path']").addClass("pathChooser").after(getFileBrowseButton($("input[name='jar_path']")));
 
 
     function getFileBrowseButton(inputElement) {
     function getFileBrowseButton(inputElement) {
       return $("<button>").addClass("btn").addClass("fileChooserBtn").text("..").click(function(e){
       return $("<button>").addClass("btn").addClass("fileChooserBtn").text("..").click(function(e){