swsnu / swppfall2018

22 stars 21 forks source link

back-edit-article-button관련 질문 #85

Open jiwonkim-park opened 5 years ago

jiwonkim-park commented 5 years ago

edit페이지에서 back-edit-article-button을 눌렀을 때의 조건이 * If the title and contents have not been modified yet but are the same as the title and contents before editing, just go back to the detail page without any alert. 로 명시되어 있는데, title과 content가 '수정된다'는 것의 범위가 명확하게 이해되지 않아서 issue 올립니다.

title, content의 input 부분을 건드리기만 해도 수정하는 것으로 보는 것인지, 아니면 최종적인 input value가 기존의 title, content와 다른 것만을 수정하는 것으로 보는 것인지 궁금합니다.

감사합니다.

sanha commented 5 years ago

input value가 기존의 내용과 달라지는 것을 수정한 것으로 봅니다.

jiwonkim-park commented 5 years ago

감사합니다! 그러면 title이나 content가 빈칸이 된 경우에도 수정되는 것으로 보는 것인가요?

sanha commented 5 years ago

네, 기존에 빈칸이 아니었다가 빈칸이 된다면 이것도 수정에 해당합니다.