the js seems to interfere with something else... comment out for now...

This commit is contained in:
marijus 2014-05-20 19:16:05 +02:00
parent c530a7a936
commit 1aa7f3136f
2 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@
} }
function commentClose(obj,id) { function commentClose(obj,id) {
$(document).on('click', function() { //$(document).on('click', function() {
if(obj.value == '') { if(obj.value == '') {
obj.value = aStr['comment']; obj.value = aStr['comment'];
$("#comment-edit-text-" + id).removeClass("comment-edit-text-full"); $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
@ -23,7 +23,7 @@
return true; return true;
} }
return false; return false;
}); //});
} }

View File

@ -53,12 +53,12 @@
{{/if}} {{/if}}
</div> </div>
<div class="btn-group pull-right" id="comment-edit-submit-wrapper-{{$id}}"> <div class="btn-group pull-right" id="comment-edit-submit-wrapper-{{$id}}">
{{if $preview}} {{if $preview}}
<button id="comment-edit-submit-{{$id}}" class="btn btn-default btn-xs btn-preview" onclick="preview_comment({{$id}}); return false;" title="{{$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> <i class="icon-eye-open comment-icon" ></i>
</button> </button>
{{/if}} {{/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> <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> </div>
<div class="clear"></div> <div class="clear"></div>