common.js 533 B

1234567891011121314151617
  1. $(document).on('click', '.ajaxPager', function()
  2. {
  3. $('#logBox').load($(this).attr('href'));
  4. return false;
  5. })
  6. $('#product').change(function()
  7. {
  8. productID = $(this).val();
  9. var link = createLink('design', 'ajaxGetProductStories', 'productID=' + productID + '&projectID=' + projectID + '&status=active&hasParent=false');
  10. $.post(link, function(data)
  11. {
  12. $('#story').replaceWith(data);
  13. $('#story_chosen').remove();
  14. $('#story').next('.picker').remove();
  15. $('#story').chosen();
  16. })
  17. })