Skip to content

Commit

Permalink
In TestRun 'Add Property' dialog load values for default property
Browse files Browse the repository at this point in the history
Fixes #142
  • Loading branch information
atodorov committed Jan 19, 2018
1 parent f173c7f commit 0cfff2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tcms/static/js/testrun_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,9 @@ function addProperty(run_id,env_group_id) {
});

set_up_choices(jQ('#id_add_env_property')[0], values, 0);
// load values for the first property in the group. See
// https://github.com/kiwitcms/Kiwi/issues/142
change_value(jQ('#id_add_env_property').val(), 'id_add_env_value');
};

var failure = function(t) { window.alert("Update properties failed"); };
Expand Down

0 comments on commit 0cfff2a

Please sign in to comment.