wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18035: LJSUP-7715: add confirmation dialog [tag...

Committer: wisest-owl
LJSUP-7715: add confirmation dialog [tag: dpetrov]

U   trunk/htdocs/community/members.bml
Modified: trunk/htdocs/community/members.bml
===================================================================
--- trunk/htdocs/community/members.bml	2011-01-17 11:12:44 UTC (rev 18034)
+++ trunk/htdocs/community/members.bml	2011-01-18 03:39:33 UTC (rev 18035)
@@ -595,7 +595,7 @@
     $ret .= BML::ml('.intro', { aopts1 => "href='$LJ::HELPURL{maintainership}'", aopts2 => "href='$LJ::HELPURL{add_to_comm}'" }) . "<br /><br />";
     $ret .= $ML{'.intro.invite'};
 
-    $ret .= "<form method='post' action='members.bml?authas=$cname'>";
+    $ret .= "<form method='post' action='members.bml?authas=$cname' onsubmit='return confirm(\"" . BML::ml('.abdicate.supermaintainer') . "\")'>";
     $ret .= LJ::form_auth();
 
     ## SuperMaintainer

Tags: bml, dpetrov, livejournal, wisest-owl
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