WORK IN PROGRESS, GET STABLE SOURCE FROM DOWNLOAD TAB
Hides/shows search field based on application. [TFS Changeset #64178]
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<clientDependency isDebugMode="false" version="5">
|
||||
<clientDependency isDebugMode="false" version="6">
|
||||
<fileRegistration defaultProvider="PageHeaderProvider" fileDependencyExtensions="js,css" enableCompositeFiles="true">
|
||||
<providers>
|
||||
<add name="PageHeaderProvider" type="ClientDependency.Core.FileRegistration.Providers.PageHeaderProvider, ClientDependency.Core" />
|
||||
|
||||
@@ -97,9 +97,11 @@ Umbraco.Application.Actions = function() {
|
||||
|
||||
if (this._currApp != 'media' && this._currApp != 'content') {
|
||||
jQuery("#buttonCreate").attr("disabled", "true");
|
||||
jQuery("#FindDocuments .umbracoSearchHolder").fadeOut(400);
|
||||
}
|
||||
else {
|
||||
jQuery("#buttonCreate").removeAttr("disabled");
|
||||
jQuery("#FindDocuments .umbracoSearchHolder").fadeIn(500);
|
||||
//need to set the recycle bin node id based on app
|
||||
switch (this._currApp) {
|
||||
case ("media"):
|
||||
|
||||
Reference in New Issue
Block a user