Skip to content

Commit

Permalink
Merge pull request #163 from dotCMS/issue-137-workflow-add-comment
Browse files Browse the repository at this point in the history
#137 disable tinyMCE for the comment textarea
  • Loading branch information
Jason Tesser committed Apr 18, 2012
2 parents 8737829 + 56c382a commit aee9bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function setupTinyMce(){
}, function() {
tinyMCE.init({
mode : "textareas",
editor_deselector : "mceNoEditor",
theme : "advanced",
readonly:true,
plugins : "noneditable",
Expand Down
2 changes: 1 addition & 1 deletion dotCMS/html/portlet/ext/workflows/view_workflow_task.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
<div dojoType="dijit.form.DropDownButton" iconClass="plusIcon">
<span><%= LanguageUtil.get(pageContext, "Add-a-Comment") %></span>
<div dojoType="dijit.TooltipDialog" id="dialog1" title="Login Form" execute="addComment();">
<textarea id="addCommentText" rows="4" cols="60"></textarea>
<textarea id="addCommentText" class="mceNoEditor" rows="4" cols="60"></textarea>
<div class="buttonRow">
<button dojoType="dijit.form.Button" type="button" onClick="addComment();" iconClass="infoIcon">
<%= UtilMethods.escapeSingleQuotes(LanguageUtil.get(pageContext, "Add-Comment")) %>
Expand Down

0 comments on commit aee9bfd

Please sign in to comment.