Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-9324

Display document icon in flash upload list

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.4.d Community
    • Fix Version/s: None
    • Component/s: ZZ_Archive
    • Security Level: external (External user)
    • Labels:
      None
    • Resolution Time Custom Field:
      238 weeks, 3 days, 12 hours, 9 minutes, 2 seconds

      Description

      The Flash upload dialog box can be improved by displaying the file icon instead of the generic one.

      Here is a proposal of changes to make into flash-upload.js

      1280a1281,1286
      > var image = Dom.getElementsByClassName("fileupload-docImage-img", "img", templateInstance);
      > if (image.length == 1)
      >

      { > this.fileStore[flashId].image = image[0]; > this.fileStore[flashId].image.src = Alfresco.constants.URL_RESCONTEXT + 'components/images/filetypes/' + Alfresco.util.getFileIcon(record.name); > }

        Attachments

          Activity

            People

            • Assignee:
              closedissues Closed Issues
              Reporter:
              cleseach Charles Le Seac'h
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: