From a89a21f56fcc46bbf1049190959d343c3f9b1ce1 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sun, 20 Apr 2014 16:29:29 +0530 Subject: added questions page, other minor fixes, nicedit configs --- static/website/js/thread-user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'static/website/js/thread-user.js') diff --git a/static/website/js/thread-user.js b/static/website/js/thread-user.js index d2c8f22..1c43342 100644 --- a/static/website/js/thread-user.js +++ b/static/website/js/thread-user.js @@ -1,6 +1,6 @@ bkLib.onDomLoaded(function() { var questionNicEditor = new nicEditor({ - buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image', 'link'], + buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image', 'link', 'forecolor', 'bgcolor'], iconsPath: "/static/website/js/nicEditorIcons.gif", }); questionNicEditor.setPanel('questionNicPanel'); @@ -156,7 +156,7 @@ $(document).ready(function() { $answerPanelWrapper = $("#answerPanelWrapper"); var answerNicEditor = new nicEditor({ - buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image', 'link'], + buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image', 'link', 'forecolor', 'bgcolor'], iconsPath: "/static/website/js/nicEditorIcons.gif", }); answerNicEditor.panelInstance('answerNicPanel'); @@ -217,7 +217,7 @@ $(document).ready(function() { $(this).find(".modify-wrapper").hide(); }); var commentNicEditor = new nicEditor({ - buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image', 'link'], + buttonList : ['fontSize','bold','italic','underline','strikeThrough','subscript','superscript','html','image', 'link', 'forecolor', 'bgcolor'], iconsPath: "/static/website/js/nicEditorIcons.gif", }); commentNicEditor.panelInstance('commentNicPanel'); -- cgit