From 459d5a8371dafc803a9e8efa438e674364cdb5d7 Mon Sep 17 00:00:00 2001 From: wjames5 Date: Wed, 31 Oct 2007 03:28:43 +0000 Subject: make ajax process check in attch uploader specific to attchment processes - general ajax request checks are too sweeping in scope, which can cause conflicts in other ajax requests that might not want the same exclusion. also tidy a libertyattachments ajax callback so its not running its process everytime its called on page load - which prolly should be cleaned up but not goign to bother tonight --- templates/edit_storage_list.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/edit_storage_list.tpl') diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index bf8b1fd..bbf8a6b 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -1,6 +1,6 @@ {strip} {* don't replicate the surrounding div when inserting ajax content *} -{if !$gBitThemes->isAjaxRequest()} +{if !$libertyUploader && !$attachmentBrowser}
{/if} {if $gContent->mStorage} @@ -61,7 +61,7 @@
{/if} -{if !$gBitThemes->isAjaxRequest()} +{if !$libertyUploader && !$attachmentBrowser} {/if} {/strip} -- cgit v1.3