-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to set the description for nwdirectory in "Browse for Folder" dialog #5265
Comments
+1 |
@rogerwang I considered trying to fix this, but after looking through the source code I'm confused about why the message reads "Select Folder to Upload".
Do you have any idea how/why the "Select Folder to Upload" label is being used? I am using branch |
Thanks. You can check the following files: |
@rogerwang The reason I was confused is because I was assuming that What is the relationship between these two source files? |
@rogerwang Can you shed any light on this? |
The source files in the NW repo was for pre-0.13 and should be removed.
…On Mon, May 15, 2017, 10:52 PM Chris Brown ***@***.***> wrote:
@rogerwang <https://github.com/rogerwang> Can you shed any light on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5265 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKGGUBUJa8gzNnJRqhN8f4UoYBFU7ksks5r6GawgaJpZM4J0YKD>
.
|
@rogerwang OK. I propose reapplying the following change to
As originally committed in c5ef962. I can do a pull request, but I'm not sure which branch to fork. I can see that |
@rogerwang What do you think of my suggestion? |
@rogerwang Do you (or someone else) have time to look at my suggestion? I am very happy to spend time working on this issue if it helps to resolve it, but I need some feedback :) |
Sure, will look to fix it with your patch. |
In nw.js version 0.23.6 for windows still appear "Select Folder to Upload". That message is very horrible when you create an application where files are handled locally. |
@octachrome @rogerwang I was wondering what the status of this issue/bug is. It is still present in v0.26+. Many thanks :) |
@rogerwang I would also like to know the status of this. It seems like a really simple fix, unless there is something I don't understand about it, but it has been many months and many posts to this thread and it is still not resolved. Is there some way we can help with this? By creating a pull request? Or something else? |
Will see it soon. Thanks.
…On Dec 31, 2017 6:01 PM, "Chris Brown" ***@***.***> wrote:
@rogerwang <https://github.com/rogerwang> I would also like to know the
status of this. It seems like a really simple fix, unless there is
something I don't understand about it, but it has been many months and many
posts to this thread and it is still not resolved.
Is there some way we can help with this? By creating a pull request? Or
something else?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5265 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAKGGV5rpETRU5Zhf_GjEWwUl1ewJeH9ks5tF1uAgaJpZM4J0YKD>
.
|
Just fixed this in nw28 branch. Added |
Thanks, really appreciated! |
@rogerwang I have updated to 0.28 and this works perfectly now. Many thanks! |
I am using nwdirectory attribute to an input="file" field in order to trigger the "Browse for Folder" dialog. However the description on the dialog is misleading, I don't want to "upload" a folder, but rather choose a folder. It can also give a wrong impression to the user, that you are actually going to upload his, often private, files somewhere.
Could we have an extra attribute nwdirectorydesc that would allow us to set that description? Like so,
<input id="folder-open-dialog" type="file" style="display: none;" nwdirectory nwworkingdir="" nwdirectorydesc="Please select a folder" role="hidden" />
The text was updated successfully, but these errors were encountered: