summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authoradityacp2017-09-28 14:03:25 +0530
committeradityacp2017-09-28 14:03:25 +0530
commit63df5e6368d68d011e5feb8f0ae25a692c0b9269 (patch)
treee0f6e6ba46880675d42d9e4ba8d45b578e419311 /yaksh/static
parent347cfa08bf8c0200fb088ac374bc9c58a66d9673 (diff)
downloadonline_test-63df5e6368d68d011e5feb8f0ae25a692c0b9269.tar.gz
online_test-63df5e6368d68d011e5feb8f0ae25a692c0b9269.tar.bz2
online_test-63df5e6368d68d011e5feb8f0ae25a692c0b9269.zip
Add new js text editor for sending emails
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/js/course.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/yaksh/static/yaksh/js/course.js b/yaksh/static/yaksh/js/course.js
index 8fb2773..6807cf4 100644
--- a/yaksh/static/yaksh/js/course.js
+++ b/yaksh/static/yaksh/js/course.js
@@ -37,10 +37,11 @@ $(".reject").change( function(){
});
$(function() {
- $('textarea#email_body').froalaEditor({
- heightMin: 200,
- heightMax: 200
- })
+ tinymce.init({
+ selector: 'textarea#email_body',
+ max_height: 200,
+ height: 200
+ });
});
$("#send_mail").click(function(){