aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-06-05 17:53:06 +0200
committermarijus <mario@mariovavti.com>2014-06-05 17:53:06 +0200
commitfed8b6b5664bdebaf1389bbf6269fc42af1f3c50 (patch)
tree005f1a0d7327da818dd1a8990ce275f8539a62bd /view/theme/redbasic/js
parent48f856e84cb117b6224ae7a1e0cac30070f1af24 (diff)
downloadvolse-hubzilla-fed8b6b5664bdebaf1389bbf6269fc42af1f3c50.tar.gz
volse-hubzilla-fed8b6b5664bdebaf1389bbf6269fc42af1f3c50.tar.bz2
volse-hubzilla-fed8b6b5664bdebaf1389bbf6269fc42af1f3c50.zip
move new comment open/close js functions to core so they can be used by other themes
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r--view/theme/redbasic/js/redbasic.js31
1 files changed, 0 insertions, 31 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 5a9d2f390..4f70752c0 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -1,34 +1,3 @@
-function commentOpenRedbasic(obj,id) {
-
- $(document).unbind( "click.commentOpen", handler );
-
- var handler = function() {
- if(obj.value == aStr['comment']) {
- obj.value = '';
- $("#comment-edit-text-" + id).addClass("comment-edit-text-full").removeClass("comment-edit-text-empty");
- $("#comment-tools-" + id).show();
- }
- };
-
- $(document).bind( "click.commentOpen", handler );
-
-}
-
-function commentCloseRedbasic(obj,id) {
-
- $(document).unbind( "click.commentClose", handler );
-
- var handler = function() {
- if(obj.value == '') {
- obj.value = aStr['comment'];
- $("#comment-edit-text-" + id).removeClass("comment-edit-text-full").addClass("comment-edit-text-empty");
- $("#comment-tools-" + id).hide();
- }
- };
-
- $(document).bind( "click.commentClose", handler );
-
-}
$(document).ready(function() {