Don't show the recycle bin in tree pickers/dialogs
This commit is contained in:
@@ -366,7 +366,7 @@ namespace Umbraco.Web.Trees
|
||||
/// <returns></returns>
|
||||
protected bool IsDialog(FormDataCollection queryStrings)
|
||||
{
|
||||
return queryStrings.GetValue<bool>(TreeQueryStringParameters.IsDialog);
|
||||
return queryStrings.GetValue<string>(TreeQueryStringParameters.Use) == "dialog";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// </summary>
|
||||
internal struct TreeQueryStringParameters
|
||||
{
|
||||
public const string IsDialog = "isDialog";
|
||||
public const string Use = "use";
|
||||
public const string Application = "application";
|
||||
public const string StartNodeId = "startNodeId";
|
||||
//public const string OnNodeClick = "OnNodeClick";
|
||||
|
||||
Reference in New Issue
Block a user