diff options
author | marijus <mario@mariovavti.com> | 2014-05-20 19:16:05 +0200 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-05-20 19:16:05 +0200 |
commit | 1aa7f3136f336a66220aae28f1404e2e2a4ecd39 (patch) | |
tree | 76299b17394d36f546d0533c9fe889a2e920d9a2 /view | |
parent | c530a7a9366b1c89a63fc1782ec620db992efc3b (diff) | |
download | volse-hubzilla-1aa7f3136f336a66220aae28f1404e2e2a4ecd39.tar.gz volse-hubzilla-1aa7f3136f336a66220aae28f1404e2e2a4ecd39.tar.bz2 volse-hubzilla-1aa7f3136f336a66220aae28f1404e2e2a4ecd39.zip |
the js seems to interfere with something else... comment out for now...
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 4 | ||||
-rwxr-xr-x | view/tpl/comment_item.tpl | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/view/js/main.js b/view/js/main.js index a4cbed064..b388ab940 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -13,7 +13,7 @@ } function commentClose(obj,id) { - $(document).on('click', function() { + //$(document).on('click', function() { if(obj.value == '') { obj.value = aStr['comment']; $("#comment-edit-text-" + id).removeClass("comment-edit-text-full"); @@ -23,7 +23,7 @@ return true; } return false; - }); + //}); } diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index 598c0d58e..121cf0995 100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -53,12 +53,12 @@ {{/if}} </div> <div class="btn-group pull-right" id="comment-edit-submit-wrapper-{{$id}}"> - {{if $preview}} - <button id="comment-edit-submit-{{$id}}" class="btn btn-default btn-xs btn-preview" onclick="preview_comment({{$id}}); return false;" title="{{$preview}}"> - <i class="icon-eye-open comment-icon" ></i> - </button> - {{/if}} - <button id="comment-edit-submit-{{$id}}" class="btn btn-primary btn-xs" type="submit" name="submit" onclick="post_comment({{$id}}); return false;">{{$submit}}</button> + {{if $preview}} + <button id="comment-edit-submit-{{$id}}" class="btn btn-default btn-xs btn-preview" onclick="preview_comment({{$id}}); return false;" title="{{$preview}}"> + <i class="icon-eye-open comment-icon" ></i> + </button> + {{/if}} + <button id="comment-edit-submit-{{$id}}" class="btn btn-primary btn-xs" type="submit" name="submit" onclick="post_comment({{$id}}); return false;">{{$submit}}</button> </div> </div> <div class="clear"></div> |