Committer: szhirkov
LJSUP-7848: screen function fixU 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];