madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20995: LJSUP-9307: custom_time field was moved ...

Committer: sbelyaev
LJSUP-9307: custom_time field was moved closer to diff_date
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-01-25 12:18:47 UTC (rev 20994)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-01-25 12:27:15 UTC (rev 20995)
@@ -418,11 +418,7 @@
         value => 'guess',
         id => 'journal_timezone',
     });
-    $out .= LJ::html_hidden({
-        name => 'custom_time',
-        value => '0',
-        id => 'journal_time_edited',
-    });
+
     $out .= "<script>try { \$('journal_timezone').value = - (new Date).getTimezoneOffset()/0.6; } catch(e) {} </script>";
     $out .= "<div id='metainfo-wrap'><ul id='metainfo'>";
 
@@ -550,6 +546,12 @@
     $date_diff_input .= "<noscript>" .  LJ::html_hidden("date_diff_nojs", "1") .
         "</noscript>";
 
+    $date_diff_input .= LJ::html_hidden({
+        name => 'custom_time',
+        value => '0',
+        id => 'journal_time_edited',
+    });
+
     my $help_icon = LJ::help_icon_html("24hourshelp");
     my $hide_link = $can_edit_date ? '' : 'style="display: none;"'; 
 

Tags: livejournal, madeon, pm, sbelyaev
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