Subversion Repositories SmartDukaan

Rev

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

Rev 3996 Rev 4020
Line 337... Line 337...
337
        });
337
        });
338
 
338
 
339
        $("div#mail-div").show();
339
        $("div#mail-div").show();
340
        $('#mail-body').ckeditor({toolbar : 'Basic', scayt_autoStartup : true});
340
        $('#mail-body').ckeditor({toolbar : 'Basic', scayt_autoStartup : true});
341
    }
341
    }
-
 
342
    else if (activityType == "ESCALATE_TICKET") {
-
 
343
        $.colorbox({
-
 
344
            inline : true,
-
 
345
            width : "675px",
-
 
346
            height : "525px",
-
 
347
            href : "div#escalation-div",
-
 
348
            onClosed : function() {
-
 
349
                CKEDITOR.instances['escalation-mail-body'].destroy(false);
-
 
350
                $("div#escalation-div").hide();
-
 
351
                $('select#activity-type').val('OTHER');
-
 
352
            }
-
 
353
        });
-
 
354
 
-
 
355
        $("div#escalation-div").show();
-
 
356
        $('#escalation-mail-body').ckeditor({toolbar : 'Basic', scayt_autoStartup : true});
-
 
357
    }
342
}
358
}
343
 
359
 
344
function processInputFormSubmit() {
360
function processInputFormSubmit() {
345
    $.ajax({
361
    $.ajax({
346
        type : "POST",
362
        type : "POST",