Forum Replies Created
-
AuthorPosts
-
O.k,but after I update the object, how do I reload the comments instance?
Also,is this object is global? (can i update it from another script in a different CEWP?)- This reply was modified 8 years, 10 months ago by kman3d.
Hi,
Everything looks good now!Thanks!
Hi Please see attached Video.
Notice how the Replay box stays open after submitting a replay.Attachments:
Hi, I’ve tested v2.505.
Now the bug where Cancel doesn’t work is fixed, but the behavior is not as it was in v503.
When I leave a comment or Replay a comment the Text box is not closed after that… Which allows to post duplicate comments…Yes:
SCRIPT5007: Unable to get property ‘getContent’ of undefined or null reference
File: eval code (37121), Line: 1, Column: 49748* Not happening with v2.503
Still not working.
I have copy pasted from your replay and still get the same issue:
/* Configuration object */
var cBoxArg = {
“placeholderID”:”commentBoxInstanse_1″,
“threadID”:location.pathname+(GetUrlKeyValue(“ID”) !== “” ? “?ID=”+GetUrlKeyValue(“ID”) : “”),
“blogMode”:false,// Set this to true if you use this with a blog
“storeCommentsOnRootSite”:false,
“multiInstanceMode”:true, // set to false when upgrading from v1.x
“text”:{
“createdByPrefix”:”Posted by “,
“createdPrefix”:” on “,
“modifiedPrefix”:”Modified: “,
“modifiedByPrefix”:” by “,
“expandCollapse”:[“expand”,”collapse”],
“newCommentText”:”Leave a comment”,
“notSignedInText”:”You must sign in to comment”,
“replyText”:”Reply”,
“editText”:”Edit”,
“submitText”:”Submit comment”,
“canceText”:”Cancel”,
“deleteThreadText”:”Delete comment”,
“confirmDeletePrompt”:”Please confirm that you want to delete the selected item and all replies below it.”,
“showMoreCommentsText”:”Show more comments”,
“attachFileLabel”:”Attach file”, // New in v2.5
“deleteAttPrompt”:”Are you sure you want to remove this attachment?”, // New in v2.3
“localFilePathPrompt”:”It looks like you have inserted a link to a file stored on your local computer. Please upload it as an attachment instead.”, // New in v2.5
“failedToAddFile”:”It looks like the file \”{0}\” is corrupt.”, // New in v2.5
“uploadingFilesHeader”:”Uploading files – stay on this page”, // New in v2.5
“uploadFailedIllegalCharacters”:”You cannot use the character(s) \”{0}\” in the file name. Please correct and retry the upload.”, // New in v2.5
“attachmentSizeWarning”:”Failed to add the attachment.\n\nThe file \”{0}\” is {1}, but the size limit for attachments is {2} MB.”, // New in v2.5
“discardCommentPrompt”:”Are you sure you want to discard changes?” // New in v2.5
},
“textareaVisible”:false,
“containerWidth”:”330px”,
“replyLevels”:5,
“pageSize”:15,
“threadInitiallyCollapsed”:false,
“threadedCommentsIndent”:15,
“textareaHeight”:50,
“showProfileImage”:true,
“showUserEmail”:true,
“richTextInputUsingTinyMCE”:false,
“sendToRecycleBinWhenDeleting”:true,
“sortAscending”:false,
“colorMyComments”:false,
“authorCanEdit”:true,
“moderatorGroupIDorUserID”:[758],
“restrictWriteAccessToGroups”:[],
“enableAttachments”:true, // New in v2.5
“attachmentSizeLimit”:50 // In MB – New in v2.5
};SP.SOD.executeFunc(“sp.js”);
ExecuteOrDelayUntilScriptLoaded(function(){
spjs.cBox.init(cBoxArg);
},”sp.js”);
</script>Hi,
Verified again, and just for testing I used your CEWP with only the references are changed to my site… I should state, that I see this issue when using the “richTextInputUsingTinyMCE”:false.Here is my config:
“textareaVisible”:false,
“containerWidth”:”330px”,
“replyLevels”:5,
“pageSize”:15,
“threadInitiallyCollapsed”:false,
“threadedCommentsIndent”:20,
“textareaHeight”:100,
“showProfileImage”:true,
“showUserEmail”:true,
“richTextInputUsingTinyMCE”:false,
“sendToRecycleBinWhenDeleting”:true,
“sortAscending”:false,
“colorMyComments”:false,
“authorCanEdit”:true,
“moderatorGroupIDorUserID”:[768],
“restrictWriteAccessToGroups”:[],
“enableAttachments”:true, // New in v2.5
“attachmentSizeLimit”:50 // In MB – New in v2.5
}; -
AuthorPosts