Committer: dpetrov
LJSUP-10196: There is access error when posting entry to communityU trunk/htdocs/js/entry.js
Modified: trunk/htdocs/js/entry.js =================================================================== --- trunk/htdocs/js/entry.js 2011-10-20 14:34:46 UTC (rev 20399) +++ trunk/htdocs/js/entry.js 2011-10-21 07:18:57 UTC (rev 20400) @@ -85,7 +85,9 @@ if (!journal.can_create_sticky) { stickyWrapper.hide(); + stickyCheckbox.prop('disabled', true); } else { + stickyCheckbox.prop('disabled', false); stickyLabel.html(journal.is_replace_sticky ? Site.ml_text['entryform.sticky_replace.edit'] : Site.ml_text['entryform.sticky.edit']);