Source: site.view [edit]
Function name: toggleManual
Arguments:
Description:
Page type: webl
Render function:  
Module: perfectCartoon

Page source:

var fi = Wub_GetFunctionInfo("cartoonDBSettings");
var settings = WubEval(fi.exec);

var sortByManual = !settings.sortByManual ? true;
settings.sortByManual := sortByManual;
fi.exec := ToString(settings);
Wub_SaveFunctionInfo(fi);
 
WubCall("adminConsole", ["SORTING BY MANUAL SCORING: " + ToString(sortByManual)]);