Changed 'delete' to 'delete2' in backups.php to better satisfy IE8 (Yes!)
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 2 Dec 2009 16:29:56 +0000 (16:29 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 2 Dec 2009 16:29:56 +0000 (16:29 +0000)
CHANGELOG.txt
admin/backups.php

index fc9cf79ea5f681d6b99521b75db1513aa2850888..69719485a47d0f152a9655dca1864a7acdf6bdb0 100644 (file)
@@ -31,13 +31,15 @@ $ /includes/errors.inc
 $ /admin/display_prefs.php
   /includes/current_user.inc
 
-01-Dec-2009 Joe Hunt
+02-Dec-2009 Joe Hunt
 ! Release 2.2.1
 $ config.default.php
   /lang/new_language_template/LC_MESSAGES/empty.po
   /lang/en_US/LC_MESSAGES/en_US.mo
 # More restrictions on deleting gl_accounts
 $ /gl/manage/gl_accounts.php
+! Changed 'delete' to 'delete2' in backups.php to better satisfy IE8 (Yes!)
+$ /admin/backups.php
 
 01-Dec-2009 Janusz Dobrowolski
 # Removing config.php after error during install. Otherwise misleading message is displayed.
index efa78619d75a2fae547ad16be348bbf8b19a114e..93ef6dfcb692e824e46bce678e442d4d7c443392 100644 (file)
@@ -129,7 +129,7 @@ if (get_post('restore')) {
                display_notification(_("Restore backup completed."));
 }
 
-if (get_post('delete')) {
+if (get_post('delete2')) {
        if (unlink(BACKUP_PATH . get_post('cmb_backups'))) {
                display_notification(_("File successfully deleted.")." "
                                . _("Filename") . ": " . get_post('cmb_backups'));
@@ -174,8 +174,8 @@ table_section_title(_("Backup scripts maintenance"));
        submit_row('restore',_("Restore Backup"), false, '','', 'process');
        submit_js_confirm('restore',_("You are about to restore database from backup file.\nDo you want to continue?"));
 
-       submit_row('delete', _("Delete Backup"), false, '','', true);
-       submit_js_confirm('delete', sprintf(_("You are about to remove selected backup file.\nDo you want to continue ?")));
+       submit_row('delete2', _("Delete Backup"), false, '','', true);
+       submit_js_confirm('delete2', sprintf(_("You are about to remove selected backup file.\nDo you want to continue ?")));
        end_table();
        echo "</td>";
        end_row();