summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2007-10-31 03:28:43 +0000
committerwjames5 <will@tekimaki.com>2007-10-31 03:28:43 +0000
commit459d5a8371dafc803a9e8efa438e674364cdb5d7 (patch)
treee5aeb41181363c4161b5990393bff3e3d6651078 /templates
parentb58beca338042d0137437f38f5403f3a5649ff12 (diff)
downloadliberty-459d5a8371dafc803a9e8efa438e674364cdb5d7.tar.gz
liberty-459d5a8371dafc803a9e8efa438e674364cdb5d7.tar.bz2
liberty-459d5a8371dafc803a9e8efa438e674364cdb5d7.zip
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
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_storage_list.tpl4
1 files changed, 2 insertions, 2 deletions
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}
<div id="edit_storage_list{if !$uploadTab}_tab{/if}">
{/if}
{if $gContent->mStorage}
@@ -61,7 +61,7 @@
</table>
</div>
{/if}
-{if !$gBitThemes->isAjaxRequest()}
+{if !$libertyUploader && !$attachmentBrowser}
</div>
{/if}
{/strip}