소스 검색

[jobsub] Add description to 'get_design' call

Fixes bug where editing a design removes the description.
Abraham Elmahrek 11 년 전
부모
커밋
ba5907c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      apps/jobsub/src/jobsub/views.py

+ 1 - 0
apps/jobsub/src/jobsub/views.py

@@ -177,6 +177,7 @@ def get_design(request, design_id):
   node_dict['is_shared'] = workflow.is_shared
   node_dict['editable'] = workflow.owner.id == request.user.id
   node_dict['parameters'] = workflow.parameters
+  node_dict['description'] = workflow.description
   return render_json(node_dict, js_safe=True);