Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addListeners()
- {
- new Ajax.Request('/user_story_mgt/toggle_search_options', {asynchronous:true, evalScripts:true});
- new Ajax.Updater('user_story_search_results', '/user_story_mgt/search_user_story', {asynchronous:true, evalScripts:true, onLoaded:function(request){document.getElementById('searching_indicator').style.display='none'}, onLoading:function(request){document.getElementById('searching_indicator').style.display='inline'}, parameters:'search_records_per_page=' + document.getElementById('search_records_per_page').value + '&selected_search_name=' + document.getElementById('search_name').value + '&selected_search_release=' + document.getElementById('search_release').value + '&selected_search_release_priority=' + document.getElementById('search_release_priority').value + '&selected_search_iteration=' + document.getElementById('search_iteration').value + '&selected_search_iteration_priority=' + document.getElementById('search_iteration_priority').value + '&selected_search_functional_component=' + document.getElementById('search_functional_component').value + '&selected_search_functional_area=' + document.getElementById('search_functional_area').value + '&selected_search_functional_capability=' + document.getElementById('search_functional_capability').value + '&selected_search_by_user_option=' + document.getElementById('search_by_user_option').value + '&selected_search_by_user_option_user=' + document.getElementById('search_by_user_option_user').value + '&selected_search_by_user_option_on=' + document.getElementById('search_by_user_option_on').value + '&selected_search_user_story_status=' + document.getElementById('search_user_story_status').value + '&selected_search_user_story_status_substatus=' + document.getElementById('search_user_story_status_substatus').value + '&selected_search_sort_by_field=' + document.getElementById('search_sort_by').value + '&selected_search_by_option=' + document.getElementById('search_by_option').value });
- new Ajax.Updater('status_substatus_updater', '/user_story_mgt/display_search_status_substatuses', {asynchronous:true, evalScripts:true, onLoading:function(request){RefreshStatusSubstatuses()}, parameters:'user_story_status_id='+value});
- }
Add Comment
Please, Sign In to add comment