Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

resolved: MDL-6579

Added strings needed for delete confirmation.
  • Loading branch information...
commit 3287cb4cba0962259032ec101a560a6fb015bb56 1 parent 8b902ba
cap2501 authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/ajax/ajaxlib.php
View
5 lib/ajax/ajaxlib.php
@@ -71,7 +71,10 @@ function print_javascript($id){
$output .= " main.portal.id = ".$id.";\n";
$output .= " main.portal.blocks = new Array(".$blocksoutput.");\n";
$output .= " main.portal.strings['wwwroot']='".$CFG->wwwroot."';\n";
- $output .= " main.portal.strings['update']='".get_string('update')."';\n";
+ $output .= " main.portal.strings['update']='".get_string('update')."';\n";
+ $output .= " main.portal.strings['deletecheck']='".get_string('deletecheck','','_var_')."';\n";
+ $output .= " main.portal.strings['resource']='".get_string('resource')."';\n";
+ $output .= " main.portal.strings['activity']='".get_string('activity')."';\n";
$output .= " onload.load();\n";
$output .= " main.process_blocks();\n";
$output .= "</script>";
Please sign in to comment.
Something went wrong with that request. Please try again.