mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Thumbnail API mutually exclusive force/queue flags collapsed into single create mode parameter.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,20 +22,19 @@ function main()
|
||||
return;
|
||||
}
|
||||
|
||||
// Get the queue create flag
|
||||
// Get the queue/force create setting
|
||||
var qc = false;
|
||||
var qcString = args.qc;
|
||||
if (qcString != null)
|
||||
{
|
||||
qc = utils.toBoolean(qcString);
|
||||
}
|
||||
|
||||
// Get the force create flag
|
||||
var fc = false;
|
||||
var fcString = args.fc;
|
||||
if (fcString != null)
|
||||
if (args.c != null)
|
||||
{
|
||||
fc = utils.toBoolean(fcString);
|
||||
if (args.c == "queue")
|
||||
{
|
||||
qc = true;
|
||||
}
|
||||
else if (args.c == "force")
|
||||
{
|
||||
fc = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the place holder flag
|
||||
|
Reference in New Issue
Block a user