Палсеич— (lusever) wrote in changelog,
Палсеич—
lusever
changelog

[livejournal] r16206: LJSUP-5467: Inbox: multi-message delete ...

Committer: pkornilov
LJSUP-5467: Inbox: multi-message delete is not working.
U   trunk/cgi-bin/LJ/Widget/InboxFolder.pm
U   trunk/htdocs/inbox/index.bml
Modified: trunk/cgi-bin/LJ/Widget/InboxFolder.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/InboxFolder.pm	2010-02-05 06:11:27 UTC (rev 16205)
+++ trunk/cgi-bin/LJ/Widget/InboxFolder.pm	2010-02-05 06:16:04 UTC (rev 16206)
@@ -51,7 +51,7 @@
 
     # print form
     my $msgs_body .= qq {
-        <form action="$LJ::SITEROOT/inbox/" method="POST" id="${name}Form" onsubmit="return false;">
+        <form action="$LJ::SITEROOT/inbox/" method="POST" id="${name}Form">
         };
 
     $msgs_body .= LJ::html_hidden({

Modified: trunk/htdocs/inbox/index.bml
===================================================================
--- trunk/htdocs/inbox/index.bml	2010-02-05 06:11:27 UTC (rev 16205)
+++ trunk/htdocs/inbox/index.bml	2010-02-05 06:16:04 UTC (rev 16206)
@@ -172,14 +172,12 @@
 
 <?_code return $head; _code?>
 
-<script>
+<script type="text/javascript">
 LJ_cmtinfo = {};
 LJ_cmtinfo['disableInlineDelete'] = 1;
 var pageNum;
 var cur_folder = '<?_code return $POST{view} || $GET{view} || undef; _code?>';
 
-DOM.addEventListener(window, "load", setup, cur_folder);
-
 var tableview;
 var checkallButton;
 /* Can have multiple tables or folders displayed on the same page */
@@ -214,6 +212,8 @@
 if ($("pageNum")) pageNum = parseInt($("pageNum").value);
 }
 
+jQuery(setup);
+
 function xtra_args () {
     var args = '';
     var view = $("inbox_view").value;

Tags: bml, livejournal, lusever, 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