can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20400: LJSUP-10196: There is access error when ...

Committer: dpetrov
LJSUP-10196: There is access error when posting entry to community
U   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']);

Tags: can3p, dpetrov, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments