Subversion Repositories SmartDukaan

Rev

Rev 5224 | Rev 5521 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5224 Rev 5225
Line 407... Line 407...
407
                ticketTable.css('table-layout', 'fixed');
407
                ticketTable.css('table-layout', 'fixed');
408
            }
408
            }
409
        }
409
        }
410
    });
410
    });
411
}
411
}
-
 
412
function changeActivityFormValidCriteria(commonDescription) {
-
 
413
	if(commonDescription == "") {
-
 
414
		$('#description').addClass('required');
-
 
415
	} else {
-
 
416
		$('#description').removeClass('required');
-
 
417
	}
-
 
418
}
412
 
419
 
413
function processActivityTypeChange(activityType) {
420
function processActivityTypeChange(activityType) {
414
	if(activityType != "RECEIVED_CALL_FROM_CUSTOMER") {
421
	if(activityType != "RECEIVED_CALL_FROM_CUSTOMER") {
415
		$('select#common-activity-desc').hide();
422
		$('select#common-activity-desc').hide();
416
		$('#description').addClass('required');
423
		$('#description').addClass('required');
417
	} else {
424
	} else {
418
		$('select#common-activity-desc').show();
425
		$('select#common-activity-desc').show();
419
		$('#description').removeClass('required');
-
 
420
	}
426
	}
421
    if (activityType == "SEND_EMAIL_TO_CUSTOMER") {
427
    if (activityType == "SEND_EMAIL_TO_CUSTOMER") {
422
        $.colorbox({
428
        $.colorbox({
423
            inline : true,
429
            inline : true,
424
            width : "775px",
430
            width : "775px",