changed: plugin jQuery File Upload has been updated to version 9.7.0
(changed 'upload' and 'rm' winix functions) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@958 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -465,18 +465,28 @@ void Rm::Clear()
|
||||
|
||||
|
||||
|
||||
|
||||
void Rm::CreateJSON(bool status)
|
||||
{
|
||||
auto & out = cur->request->out_streams[0];
|
||||
|
||||
out << "{\"files\": [{\"";
|
||||
JSONescape(out, cur->request->item.url);
|
||||
out << "\": ";
|
||||
|
||||
if( status )
|
||||
cur->request->out_streams[0] << "[true]\n";
|
||||
out << "true";
|
||||
else
|
||||
cur->request->out_streams[0] << "[false]\n";
|
||||
out << "false";
|
||||
|
||||
out << "}]}";
|
||||
|
||||
cur->request->page_generated = true;
|
||||
cur->request->use_html_filter[0] = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Rm::MakePost()
|
||||
{
|
||||
Prepare();
|
||||
|
Reference in New Issue
Block a user