Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Filepicker
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Rank:
      41069

      Description

      When editing your profile (I was admin on Chrome) there is no filemanager at all for the profile picture upload.

      Just a textarea with "No files attached - drag and drop files here to upload them" in it.

        Issue Links

          Activity

          Hide
          Marina Glancy added a comment -

          Martin, there are several form elements that are used to add files and co-operate with filepicker. They are:
          Forms API:
          /lib/form/filepicker.php (examples: user edit form, upload single file assignment submission)
          /lib/form/url.php (only usage in URL resource)
          /lib/form/file.php (deprecated)
          /lib/form/filemanager.php

          and in Database module:
          /mod/data/field/picture
          /mod/data/field/url
          /mod/data/field/file

          We re-styled only filemanager element

          Show
          Marina Glancy added a comment - Martin, there are several form elements that are used to add files and co-operate with filepicker. They are: Forms API: /lib/form/filepicker.php (examples: user edit form, upload single file assignment submission) /lib/form/url.php (only usage in URL resource) /lib/form/file.php (deprecated) /lib/form/filemanager.php and in Database module: /mod/data/field/picture /mod/data/field/url /mod/data/field/file We re-styled only filemanager element
          Hide
          Martin Dougiamas added a comment -

          OK, the styling of the "single file picker" is broken then. But it's still broken!

          Show
          Martin Dougiamas added a comment - OK, the styling of the "single file picker" is broken then. But it's still broken!
          Hide
          Martin Dougiamas added a comment -

          It's a lot better now, thanks, with the drag/drop logo.

          I'll leave this closed and file something new about file picker because it still needs some cleaning up.

          Show
          Martin Dougiamas added a comment - It's a lot better now, thanks, with the drag/drop logo. I'll leave this closed and file something new about file picker because it still needs some cleaning up.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: