From: msweet Date: Thu, 28 Aug 2014 14:24:45 +0000 (+0000) Subject: Fix the spinner image on a restart (STR #4475) X-Git-Tag: v2.2b1~502 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc376ee94dd13ff43b9af675eb7381e443ea6ea;p=thirdparty%2Fcups.git Fix the spinner image on a restart (STR #4475) Also fix the redirection link. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12123 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/CHANGES.txt b/CHANGES.txt index 05ce557bec..57e1e020fe 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -18,6 +18,8 @@ CHANGES IN CUPS V2.0rc1 - PPD files are now created using the permissions specified by the ConfigFilePerm directive. - Fixed RPM build issues (STR #4459) + - Fixed the spinner image and restart page when reconfiguring the + scheduler through the web interface (STR #4475) CHANGES IN CUPS V2.0b1 diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c index 6c794d5de2..170d88b3ae 100644 --- a/cgi-bin/admin.c +++ b/cgi-bin/admin.c @@ -1897,7 +1897,7 @@ do_config_server(http_t *http) /* I - HTTP connection */ } else { - cgiSetVariable("refresh_page", "5;URL=/admin/?OP=redirect"); + cgiSetVariable("refresh_page", "5;URL=/admin/"); cgiStartHTML(cgiText(_("Edit Configuration File"))); cgiCopyTemplateLang("restart.tmpl"); diff --git a/templates/restart.tmpl b/templates/restart.tmpl index 6455652f89..47d39d0716 100644 --- a/templates/restart.tmpl +++ b/templates/restart.tmpl @@ -1,4 +1,4 @@

Change Settings

-

Busy Indicator Please stand by while the server restarts...