Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[livejournal] r20595: LJSUP-10280: When user set wrong date is...

Committer: mchervonniy
LJSUP-10280: When user set wrong date is displayed incorrect error
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
U   trunk/htdocs/stc/entry.css
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-11-22 08:15:03 UTC (rev 20594)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-11-22 08:36:11 UTC (rev 20595)
@@ -588,7 +588,7 @@
                 $date_diff_input
                 <span class="wrap-calendar"><a id="currentdate-date" href="#">$monthlong $mday, $year</a><i class='i-calendar'></i></span>
                 <span class='datetime'>
-                    <input type='text' name='hour' value='$hour' class='input-num' maxlength='2' /> : <input type='text' value='$min' name='min' class='input-num' maxlength='2' />
+                    <input type='text' name='time' value='$hour:$min' class='input-num' maxlength='5' />
                     <?de $BML::ML{'entryform.date.24hournote'} de?>
                 </span>
                 $help_icon

Modified: trunk/htdocs/stc/entry.css
===================================================================
--- trunk/htdocs/stc/entry.css	2011-11-22 08:15:03 UTC (rev 20594)
+++ trunk/htdocs/stc/entry.css	2011-11-22 08:36:11 UTC (rev 20595)
@@ -224,7 +224,7 @@
 				vertical-align: middle;
 				}
 				#updateForm #metainfo LI .datetime .input-num {
-					width: 22px;
+					width: 38px;
 					padding: 2px 1px;
 					text-align: center;
 					}

Tags: css, fiskus_boulder, livejournal, mchervonniy, pm
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