$("#collapsed-comments-" + id + " .collapsed-comments").hide()
}
-
function cmtBbOpen(id) {
$("#comment-edit-bb-" + id).show();
}
$(document).bind( "click.commentClose", handler );
}
+
+// test if there is default content in the jot text box and remove it
+function jotTextOpenUI(obj) {
+ if(obj.value == aStr.share) {
+ obj.value = '';
+ $(".modal-body #profile-jot-text").addClass("profile-jot-text-full").removeClass("profile-jot-text-empty");
+ }
+}
+
+// insert default content into the jot text box
+// if it's empty
+function jotTextCloseUI(obj) {
+ if(obj.value === '') {
+ obj.value = aStr.share;
+ $(".modal-body #profile-jot-text").removeClass("profile-jot-text-full").addClass("profile-jot-text-empty");
+ }
+}
+
function commentOpen(obj,id) {
if(obj.value == aStr.comment) {
obj.value = '';