perazhog (perazhog) wrote in changelog,
perazhog
perazhog
changelog

[livejournal] r21467: LJSUP-11421: Cliend-side development for...

Committer: egeraskin
LJSUP-11421: Cliend-side development for Trava.ru
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-03-20 08:14:43 UTC (rev 21466)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-03-20 08:17:55 UTC (rev 21467)
@@ -1164,10 +1164,10 @@
 
                 $out .= qq{
                     <input
+                        id="entryform-music-search"
                         type="button" value="$button_label"
                         tabindex="175"
                         style="float: left"
-                        onclick="trava_search('$trava_uid', true);"
                     >
                     <input
                         type="hidden"
@@ -1177,11 +1177,11 @@
                 };
 
                 # automatically detect current music only if creating new entry
-                if ($opts->{'mode'} eq 'update') {
-                    $out .= $self->wrap_js(qq{
-                        trava_current('$trava_uid', false);
-                    });
-                }
+                #if ($opts->{'mode'} eq 'update') {
+                    #$out .= $self->wrap_js(qq{
+                        #trava_current('$trava_uid', false);
+                    #});
+                #}
 
 
             #}

Tags: egeraskin, livejournal, perazhog, 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