Themes: Remove unnecessary JS functions.

Call Block: Fixed issue in language file.
User Edit: Fixed issue in language file.
File Editor: Fix JS issue in header.
This commit is contained in:
Nate Jones
2015-04-16 19:14:20 +00:00
parent c1976beb4a
commit 0f4a14d69e
8 changed files with 14 additions and 136 deletions

View File

@@ -74,7 +74,7 @@ echo "<SCRIPT language=\"JavaScript\">\n";
echo "<!--\n";
echo "function confirmdelete(url)\n";
echo "{\n";
echo " var confirmed = confirm(".$text['button-delete-this'].");\n";
echo " var confirmed = confirm('".$text['button-delete-this']."');\n";
echo " if (confirmed == true) {\n";
echo " window.location=url;\n";
echo " }\n";