can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r21649: LJSUP-11721: Cannot reset PlayList in pr...

Committer: dpetrov
LJSUP-11721: Cannot reset PlayList in profile
U   trunk/htdocs/manage/profile/index.bml
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2012-04-05 10:43:17 UTC (rev 21648)
+++ trunk/htdocs/manage/profile/index.bml	2012-04-05 11:23:29 UTC (rev 21649)
@@ -692,6 +692,8 @@
             # if not yet selected
             $playlist_id = 0 unless defined $playlist_id;
 
+            LJ::need_string('.pl.nothingselected');
+
             $ret .= qq~<a name="userplaylist"></a><div class='section_head'>$ML{'.section.playlist'}</div>\n~;
 
             $ret .= "<table class='field_block'>\n";
@@ -709,7 +711,7 @@
             $ret .= qq~</tr>~;
             $ret .= qq~<tr>~;
             $ret .= qq~<td>~ . $ML{'.pl.change'}. qq~</td><td>~;
-            $ret .= qq~<select id="music-settings-playlist-selection"></select><button id="music-settings-playlist-confirm">~ . $ML{'.pl.select'}. qq~</button></td>~;
+            $ret .= qq~<select id="music-settings-playlist-selection"><option value="-1">$ML{'.pl.shownothing'}</option></select><button id="music-settings-playlist-confirm">~ . $ML{'.pl.select'}. qq~</button></td>~;
             $ret .= qq~</table>~;                    
             $ret .= "</div>";
             $ret .= qq~<div class="music-settings-manage-playlist music-playlist-empty">~ . $ML{'.pl.create'}. qq~<a href="http://www.trava.ru" target="_blank">trava.ru</a></div>~;

Tags: bml, can3p, dpetrov, 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