<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic FileUpload.hide() missing in dnd-upload in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310123#M263253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where using FileUpload in share, the following code returns the built-in FileUpload:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;fileUpload = Alfresco.getFileUploadInstance();&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By looking into the source code (file-upload.js), it can be seen the FileUpload returns its uploader instance with the priority of flash-upload &amp;gt; dnd-upload &amp;gt; html-upload.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It provide two functions: .show(config) and .hide().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following code should close the FileUpload window:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;fileUpload.hide();&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works if flash is available in the browser. However, if flash is not supported. The FileUpload will use dnd-upload instead and the .hide() method is not implemented (in dnd-upload.js). Thus the function call will fail as no such method defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug or I am not using the FileUpload correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 12:34:23 GMT</pubDate>
    <dc:creator>sunquanbin</dc:creator>
    <dc:date>2014-03-14T12:34:23Z</dc:date>
    <item>
      <title>FileUpload.hide() missing in dnd-upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310123#M263253</link>
      <description>Where using FileUpload in share, the following code returns the built-in FileUpload:fileUpload = Alfresco.getFileUploadInstance();‍By looking into the source code (file-upload.js), it can be seen the FileUpload returns its uploader instance with the priority of flash-upload &amp;gt; dnd-upload &amp;gt; html</description>
      <pubDate>Fri, 14 Mar 2014 12:34:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310123#M263253</guid>
      <dc:creator>sunquanbin</dc:creator>
      <dc:date>2014-03-14T12:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: FileUpload.hide() missing in dnd-upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310124#M263254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would consider this a bug - uploaders and their dialogs should have a consistent API from my point of view. So I'd say feel free to raise a JIRA for this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 15:55:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310124#M263254</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-03-16T15:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: FileUpload.hide() missing in dnd-upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310125#M263255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please tell me more about how to raise a JIRA (I don't know what it stands for)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:36:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310125#M263255</guid>
      <dc:creator>sunquanbin</dc:creator>
      <dc:date>2014-03-18T13:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: FileUpload.hide() missing in dnd-upload</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310126#M263256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JIRA is the public issue management system Alfresco uses to track bugs, enhancements and contributions. It is the main channel for the Alfresco community to submit problems that Alfresco engineering should take a look at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To submit a JIRA ticket, simply go to &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com&lt;/A&gt;&lt;SPAN&gt;, create an account and use the "create issue" action in the "issues" menu. Fill out the form to the best of your abilities, especially taking care of which version of Alfresco you are using and how someone else may reproduce the problem (step-by-step guide). In case of customization issues, it would be helpful to provide sample code instead of writing an essay to explain a technical aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The project for the issue should be "Alfresco" or "ALF" and you can even select the component that the issue affects (e.g. "Share Application").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:39:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fileupload-hide-missing-in-dnd-upload/m-p/310126#M263256</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2014-03-18T17:39:53Z</dc:date>
    </item>
  </channel>
</rss>

