Merge branch 'master' of github.com:webnotes/erpnext into edge

This commit is contained in:
Rushabh Mehta
2013-03-12 21:38:38 +05:30
8 changed files with 19 additions and 21 deletions

View File

@@ -64,7 +64,9 @@ var blog = {
b.comment_text = '1 comment.'
} else {
b.comment_text = b.comments + ' comments.'
}
}
b.page_name = encodeURIComponent(b.page_name);
$(repl('<div class="row">\
<div class="span1">\

View File

@@ -36,7 +36,7 @@ $(document).ready(function() {
comment_by: $("[name='comment_by']").val(),
comment: $("[name='comment']").val(),
cmd: "website.helpers.blog.add_comment",
comment_doctype: "Blog",
comment_doctype: "Blog Post",
comment_docname: "{{ name }}",
page_name: "{{ page_name }}",
_type: "POST"