Add a Clear button on WebUI

And Fix clear history update from GUI.
This commit is contained in:
Phenom 2016-04-08 01:31:36 +02:00
parent c8cae4c33c
commit 24b3f0de0e
4 changed files with 40 additions and 16 deletions

View file

@ -24,6 +24,7 @@ void handlePaginationRequest(Request& req, Response& resp, C& data)
// set result type to list
resp.mDataStream.getStreamToMember();
resp.mDebug << "note: list is empty" << std::endl;
resp.setOk();
return;
}