Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r21327: LJSUP-10219: Behavior for variables "Pub...

Committer: vkurkin
LJSUP-10219: Behavior for variables "Publish/Postpone untill" on update.bml form
U   trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
Modified: trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js
===================================================================
--- trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js	2012-03-07 14:38:46 UTC (rev 21326)
+++ trunk/htdocs/js/jquery/jquery.lj.entryDatePicker.js	2012-03-07 15:49:09 UTC (rev 21327)
@@ -81,8 +81,8 @@
 				'default': 'entrydate-date',
 				'edit': 'entrydate-changeit',
 				'inedit': 'entrydate-changeit',
-				'infutureedit': 'entrydate-until',
-				'future': Site.hasOwnProperty('is_delayed_post') && Site.is_delayed_post === 0 ? 'entrydate-changeit' : 'entrydate-until',
+				'infutureedit': Site.is_delayed_post === 1 ? 'entrydate-changeit' : 'entrydate-until',
+				'future': Site.is_delayed_post === 1 ? 'entrydate-changeit' : 'entrydate-until',
 				'delayed': 'entrydate-delayed'
 			},
 			selectors: {

Tags: b_vladi, js, livejournal, vkurkin
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