Valerii Vasin (valerii) wrote in changelog,
Valerii Vasin
valerii
changelog

[livejournal] r23014: LJSUP-13431: Antispam for edited entries...

Committer: vvasin
LJSUP-13431: Antispam for edited entries in the communities. Fix ml variables.
U   trunk/htdocs/js/rte.js
Modified: trunk/htdocs/js/rte.js
===================================================================
--- trunk/htdocs/js/rte.js	2012-09-28 14:26:12 UTC (rev 23013)
+++ trunk/htdocs/js/rte.js	2012-09-28 14:33:25 UTC (rev 23014)
@@ -300,15 +300,15 @@
 	$(function (){
 		// restore entry (if it's on moderation)
 		if (LJ.pageVar('entry_restore')) {
-			LJ.dialogs.confirm( this._ml('antispamConfirmText'), {
+			LJ.dialogs.confirm( LJ.ml('dialog.confirm.antispam.text'), {
 				yes: {
-					text: this._ml('antispamConfirmYes'),
+					text: LJ.ml('dialog.confirm.antispam.yes'),
 					action: function () {
 						window.location.href = LJ.pageVar('entry_restore');
 					}
 				},
 				no: {
-					text: this._ml('antispamConfirmNo')
+					text: LJ.ml('dialog.confirm.antispam.no')
 				}
 			});
 		}

Tags: invis89, js, livejournal, vvasin
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