Guest User

Untitled

a guest
Feb 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. function addListeners()
  2. {
  3. new Ajax.Request('/user_story_mgt/toggle_search_options', {asynchronous:true, evalScripts:true});
  4. 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 });
  5. 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});
  6. }
Add Comment
Please, Sign In to add comment