ICEmobile
  1. ICEmobile
  2. MOBI-570

DeviceCoreRenderer accept type interferes with desktop uploads

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 Beta
    • Fix Version/s: 1.2 Final
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      ICEmobile

      Description

      DeviceCoreRenderer sets the accept type which provides features on mobile devices but interferes with desktop uploads. The following code should be disabled for desktop browsers:


                  if (comptype.equals("camera")){
                      writer.writeAttribute("accept", "image/*");
                  }
                  if (comptype.equals("camcorder")){
                      writer.writeAttribute("accept", "video/*");
                  }
                  if (comptype.equals("microphone")){
                      writer.writeAttribute("accept", "audio/*");
                  }

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32656 Fri Dec 07 11:05:55 MST 2012 judy.guglielmin MOBI-570 removed accept for video and audio if desktop browser detected
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/core/src/main/java/org/icemobile/renderkit/DeviceCoreRenderer.java

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: