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:
BIN
source/web/images/filetypes/doc.png
Normal file
BIN
source/web/images/filetypes/doc.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
source/web/images/filetypes/htm.png
Normal file
BIN
source/web/images/filetypes/htm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
BIN
source/web/images/filetypes/jpg.png
Normal file
BIN
source/web/images/filetypes/jpg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
BIN
source/web/images/filetypes/pdf.png
Normal file
BIN
source/web/images/filetypes/pdf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
BIN
source/web/images/filetypes/png.png
Normal file
BIN
source/web/images/filetypes/png.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
@@ -36,7 +36,11 @@ var MyDocs = {
|
|||||||
if (resource.isLoaded)
|
if (resource.isLoaded)
|
||||||
{
|
{
|
||||||
resource.needsOverflow = false;
|
resource.needsOverflow = false;
|
||||||
$E('.docMetapreview', resource).setStyle('overflow', 'auto');
|
var elePrev = $E('.docMetapreview', resource)
|
||||||
|
if (elePrev)
|
||||||
|
{
|
||||||
|
elePrev.setStyle('overflow', 'auto');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -191,7 +195,11 @@ var MyDocs = {
|
|||||||
// deferred from transition complete event
|
// deferred from transition complete event
|
||||||
if (resource.needsOverflow)
|
if (resource.needsOverflow)
|
||||||
{
|
{
|
||||||
$E('.docMetapreview', resource).setStyle('overflow', 'auto');
|
var elePrev = $E('.docMetapreview', resource)
|
||||||
|
if (elePrev)
|
||||||
|
{
|
||||||
|
elePrev.setStyle('overflow', 'auto');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
failure: function(response)
|
failure: function(response)
|
||||||
@@ -311,7 +319,11 @@ var MyDocs = {
|
|||||||
'height': [resourceHeight, resource.defHeight],
|
'height': [resourceHeight, resource.defHeight],
|
||||||
'opacity': [resource.getStyle('opacity'), 0]};
|
'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);
|
fxResource.start(animResource);
|
||||||
fxItem.start(animItem);
|
fxItem.start(animItem);
|
||||||
|
Reference in New Issue
Block a user