Committer: egeraskin
LJSUP-11421: Cliend-side development for Trava.ruU 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); + #}); + #} #}