Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19807:

Committer: dnikolaev

LJSV-1727: update.bml and editjournal.bml is empty below menu

U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-08-23 06:26:28 UTC (rev 19806)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-08-23 06:28:06 UTC (rev 19807)
@@ -761,7 +761,8 @@
             my $selectTags = '';
             if ($remote) {
                 $selectTags = qq|<a href="#" onclick="return selectTags(this)" class="i-prop-selecttags">$BML::ML{'entryform.selecttags'}</a>|;
-                $$onload .= " getUserTags(jQuery(document.updateForm.usejournal).val());";
+                # we do not use bind, because it was wrongly implemented long ago and this is a quick fix
+                $$onload .= " jQuery(function() { getUserTags(jQuery(document.updateForm.usejournal).val()) });";
             }
 
             return qq{

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