WORK IN PROGRESS, GET STABLE SOURCE FROM DOWNLOAD TAB

Hides/shows search field based on application.

[TFS Changeset #64178]
This commit is contained in:
Shandem
2010-02-25 14:16:07 +00:00
parent f47c76e4db
commit 81d10109bf
2 changed files with 3 additions and 1 deletions

View File

@@ -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" />

View File

@@ -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"):