summaryrefslogtreecommitdiff
path: root/static/website/js/thread-user.js
diff options
context:
space:
mode:
authorJayaram Pai2014-04-20 16:29:29 +0530
committerJayaram Pai2014-04-20 16:29:29 +0530
commita89a21f56fcc46bbf1049190959d343c3f9b1ce1 (patch)
treee94a1379b830d20e7aecec09315707795d533a2f /static/website/js/thread-user.js
parent4614a1fa876a5ee2b089879a5bc46d1ab0ae7294 (diff)
downloadspoken-tutorial-forums-a89a21f56fcc46bbf1049190959d343c3f9b1ce1.tar.gz
spoken-tutorial-forums-a89a21f56fcc46bbf1049190959d343c3f9b1ce1.tar.bz2
spoken-tutorial-forums-a89a21f56fcc46bbf1049190959d343c3f9b1ce1.zip
added questions page, other minor fixes, nicedit configs
Diffstat (limited to 'static/website/js/thread-user.js')
-rw-r--r--static/website/js/thread-user.js6
1 files changed, 3 insertions, 3 deletions
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');