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

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

Committer: vvasin
LJSUP-13431: Antispam for edited entries in the communities. Remove need_res_group from release, add resources to old and new update.bml
U   trunk/htdocs/editjournal.bml
U   trunk/htdocs/update.bml
Modified: trunk/htdocs/editjournal.bml
===================================================================
--- trunk/htdocs/editjournal.bml	2012-10-01 12:00:41 UTC (rev 23019)
+++ trunk/htdocs/editjournal.bml	2012-10-01 14:10:37 UTC (rev 23020)
@@ -673,8 +673,22 @@
             #    be placed in the correct BML head portion later
             # -- this is a hack, should be done by weblib and pushed into \$$head above
             #    in a way which is compatible with both this page and update.bml
-            LJ::need_string('entryform.close.confirm');
+            LJ::need_string(qw(
+                entryform.close.confirm
 
+                dialog.confirm.antispam.text
+                dialog.confirm.antispam.yes
+                dialog.confirm.antispam.no
+                dialogs.yes
+                dialogs.no
+            ));
+
+            LJ::need_res(qw(
+                js/jquery/jquery.center.js
+                js/jquery/dialogs.js
+                templates/Widgets/dialogs.tmpl
+            ));
+
             $$head .= qq|
     <script type="text/javascript">
     //<![CDATA[

Modified: trunk/htdocs/update.bml
===================================================================
--- trunk/htdocs/update.bml	2012-10-01 12:00:41 UTC (rev 23019)
+++ trunk/htdocs/update.bml	2012-10-01 14:10:37 UTC (rev 23020)
@@ -797,9 +797,6 @@
 
     LJ::need_string(qw(
         entryform.close.confirm
-        dialog.confirm.antispam.text        
-        dialog.confirm.antispam.yes        
-        dialog.confirm.antispam.no        
     )); 
 
     # append months names tranlation to Site.ml_text['month.names.long']  

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