diff options
author | adityacp | 2017-09-28 14:03:25 +0530 |
---|---|---|
committer | adityacp | 2017-09-28 14:03:25 +0530 |
commit | 63df5e6368d68d011e5feb8f0ae25a692c0b9269 (patch) | |
tree | e0f6e6ba46880675d42d9e4ba8d45b578e419311 /yaksh/static | |
parent | 347cfa08bf8c0200fb088ac374bc9c58a66d9673 (diff) | |
download | online_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.js | 9 |
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(){
|