CLOUD: Fix code formatting
This commit is contained in:
parent
772d8ee42b
commit
9254df2d96
35 changed files with 380 additions and 366 deletions
|
@ -153,16 +153,16 @@ void UploadFileClientHandler::handleBlockContent(Client *client) {
|
|||
|
||||
if (client->noMoreContent()) {
|
||||
// success - redirect back to directory listing
|
||||
HandlerUtils::setMessageHandler(*client,
|
||||
HandlerUtils::setMessageHandler(
|
||||
*client,
|
||||
Common::String::format(
|
||||
"%s<br/><a href=\"files?path=%s\">%s</a>",
|
||||
_("Uploaded successfully!"),
|
||||
client->queryParameter("path").c_str(),
|
||||
_("Back to parent directory")
|
||||
),
|
||||
|
||||
(client->queryParameter("ajax") == "true" ? "/filesAJAX?path=" : "/files?path=") +
|
||||
LocalWebserver::urlEncodeQueryParameterValue(client->queryParameter("path"))
|
||||
LocalWebserver::urlEncodeQueryParameterValue(client->queryParameter("path"))
|
||||
);
|
||||
_state = UFH_STOP;
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue