Merge branch 'daily' into dev
This commit is contained in:
@@ -28,6 +28,15 @@ krip.daily.goToPrev = function() {
|
||||
* @param groupNo
|
||||
*/
|
||||
krip.daily.goToNext = function(target, searchMonth, groupNo) {
|
||||
if (target == null) {
|
||||
if ($('._nextStep').data('last')) {
|
||||
target = 'LAST';
|
||||
} else {
|
||||
krip.daily.goToDone(searchMonth, groupNo);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (target === 'LAST') {
|
||||
// 임가 건의사항 팝업
|
||||
const commentModal = document.querySelector('.commentModal').ui;
|
||||
@@ -231,7 +240,7 @@ krip.daily.createComment = function(month, groupNo) {
|
||||
const f = document.commentReqForm;
|
||||
|
||||
const obj = $(f).serializeObject();
|
||||
console.log(obj)
|
||||
console.log(obj, month, groupNo)
|
||||
if (f.content.value === '') {
|
||||
krip.daily.goToDone(month, groupNo);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user