can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r20355: LJSUP-10169: ?\208?\161hange types priva...

Committer: dpetrov
LJSUP-10169: ?\208?\161hange types privacy does not work when you change value "Post to" on update.bml
U   trunk/htdocs/js/entry.js
Modified: trunk/htdocs/js/entry.js
===================================================================
--- trunk/htdocs/js/entry.js	2011-10-18 09:14:22 UTC (rev 20354)
+++ trunk/htdocs/js/entry.js	2011-10-18 11:02:00 UTC (rev 20355)
@@ -64,7 +64,7 @@
 }
 
 function setPostingPermissions(journal) {
-	if (!Site.remote_permissions[journal]) { return; }
+	if (!('remote_permissions' in Site) || !Site.remote_permissions[journal]) { return; }
 
 	var modifyDate = jQuery('#modifydate'),
 		stickyCheckbox = jQuery('#sticky_type'),

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