Skip to content
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

Document panel should be expanded after uploading a document #138

Open
drtjmb opened this issue Oct 8, 2013 · 2 comments
Open

Document panel should be expanded after uploading a document #138

drtjmb opened this issue Oct 8, 2013 · 2 comments

Comments

@drtjmb
Copy link
Member

@drtjmb drtjmb commented Oct 8, 2013

After uploading a document, the corresponding "panel" for that document (Visibility, License etc.) should probably be auto-expanded. I'm sure that used to happen in a previous version but it doesn't happen in 3.3.11 (the user has to manually expand it).

Should we add an option to allow a repository to be configured either way?

@eniocarboni
Copy link
Contributor

@eniocarboni eniocarboni commented Apr 13, 2015

i think on lib/static/javascript/auto/89_component_documents.js
on v3.3.13 on "refresh_document: function(docid) {"
we can add 'docid' params like
params['docid'] = docid;

on master branch on "addDocument: function(docid) {"
we can add 'docid' params like (but not tested)
params['docid'] = docid;

@eniocarboni
Copy link
Contributor

@eniocarboni eniocarboni commented Feb 4, 2016

Same thing in version 3.3.15.
Please add in function "refresh_document: function(docid) {"
params['docid'] = docid;

to solve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants