[#369] new build list page: clean autocomplete field

This commit is contained in:
Alexander Machehin 2014-10-30 18:39:32 +05:00
parent 66183a18a2
commit 92a5e5c625
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,7 @@ NewBuildListController = (dataservice, $http) ->
vm.addExtraRepository = -> vm.addExtraRepository = ->
vm.extra_repositories = _.union(vm.extra_repositories, [vm.selected_extra_repository]) vm.extra_repositories = _.union(vm.extra_repositories, [vm.selected_extra_repository])
vm.selected_extra_repository = null
false false
vm.selectExtraBuildList = (item, model, label) -> vm.selectExtraBuildList = (item, model, label) ->
@ -134,6 +135,7 @@ NewBuildListController = (dataservice, $http) ->
vm.addExtraBuildList = -> vm.addExtraBuildList = ->
vm.extra_build_lists = _.union(vm.extra_build_lists, [vm.selected_extra_build_list]) vm.extra_build_lists = _.union(vm.extra_build_lists, [vm.selected_extra_build_list])
vm.selected_extra_build_list = null
false false
init = (dataservice) -> init = (dataservice) ->