mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Doclist bugfix for ajax/animation race condition. Also added first versions of 16x16 doclist icons.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,7 +36,11 @@ var MyDocs = {
|
||||
if (resource.isLoaded)
|
||||
{
|
||||
resource.needsOverflow = false;
|
||||
$E('.docMetapreview', resource).setStyle('overflow', 'auto');
|
||||
var elePrev = $E('.docMetapreview', resource)
|
||||
if (elePrev)
|
||||
{
|
||||
elePrev.setStyle('overflow', 'auto');
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -191,7 +195,11 @@ var MyDocs = {
|
||||
// deferred from transition complete event
|
||||
if (resource.needsOverflow)
|
||||
{
|
||||
$E('.docMetapreview', resource).setStyle('overflow', 'auto');
|
||||
var elePrev = $E('.docMetapreview', resource)
|
||||
if (elePrev)
|
||||
{
|
||||
elePrev.setStyle('overflow', 'auto');
|
||||
}
|
||||
}
|
||||
},
|
||||
failure: function(response)
|
||||
@@ -311,7 +319,11 @@ var MyDocs = {
|
||||
'height': [resourceHeight, resource.defHeight],
|
||||
'opacity': [resource.getStyle('opacity'), 0]};
|
||||
|
||||
$E('.docMetapreview', resource).setStyle('overflow', 'hidden');
|
||||
var elePrev = $E('.docMetapreview', resource)
|
||||
if (elePrev)
|
||||
{
|
||||
elePrev.setStyle('overflow', 'hidden');
|
||||
}
|
||||
}
|
||||
fxResource.start(animResource);
|
||||
fxItem.start(animItem);
|
||||
|
Reference in New Issue
Block a user