Skip to content

Commit

Permalink
Update binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
signalpoint committed Apr 8, 2016
1 parent 0db60de commit de506f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/drupalgap.js
Expand Up @@ -11469,7 +11469,7 @@ function node_page_view_pageshow(nid) {
comments: comments
});
// If the comments are open, show the comment form.
if (node.comment == 2) {
if (node.comment == 2 && user_access('post comments')) {
build.content.markup += comment_form;
}
// Finally, inject the page.
Expand All @@ -11491,7 +11491,7 @@ function node_page_view_pageshow(nid) {
// the page.
if (node.comment == 2) {
build.content.markup += theme('comments', { node: node });
build.content.markup += comment_form;
if (user_access('post comments')) { build.content.markup += comment_form; }
}
_drupalgap_entity_page_container_inject(
'node', node.nid, 'view', build
Expand Down

0 comments on commit de506f6

Please sign in to comment.