CLOUD: Fix code formatting

This commit is contained in:
Peter Bozsó 2016-07-21 09:29:54 +02:00 committed by Alexander Tkachev
parent 772d8ee42b
commit 9254df2d96
35 changed files with 380 additions and 366 deletions

View file

@ -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;