Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r18509: LJSUP-7848: screen function fix

Committer: szhirkov
LJSUP-7848: screen function fix
U   trunk/htdocs/js/commentmanage.js
Modified: trunk/htdocs/js/commentmanage.js
===================================================================
--- trunk/htdocs/js/commentmanage.js	2011-03-11 05:17:20 UTC (rev 18508)
+++ trunk/htdocs/js/commentmanage.js	2011-03-11 05:30:46 UTC (rev 18509)
@@ -540,8 +540,8 @@
 		sendModerateRequest();
 
 		function sendModerateRequest() {
-			var	bmlName = 'talkscreen.bml',
-				postUrl = control.href.replace(bmlName, LiveJournal.getAjaxUrl(bmlName)) + '&mode=js',
+			var	bmlName = 'talkscreen',
+				postUrl = control.href.replace(new RegExp('.+' + bmlName + '\.bml'), LiveJournal.getAjaxUrl(bmlName)),
 				postParams = { 'confirm': 'Y', lj_form_auth: LJ_cmtinfo.form_auth };
 				
 			hourglass = jQuery(e).hourglass()[0];

Tags: aralot, js, 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