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

rename update event to previewupdate because of conflict with prototype #2346

Closed
wants to merge 3 commits into from

Conversation

vcordes79
Copy link

@vcordes79 vcordes79 commented Jan 3, 2018

I still need prototype js for my app and could not use elfinder because of a conflict with the name of the update event. So I renamed the event to previewupdate. Please integrate the change into mainstream version.
Also I added an option to use ViewerJS as preview for pdf files in quicklook and fixed the quicklook close / dock button alignment

@@ -122,7 +122,8 @@
}
.elfinder-quicklook-titlebar-icon .ui-icon {
position: relative;
margin: -9px 3px 0px 0px;
margin: 0px 3px 0px 0px;
display: inline-block;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What kind of problem are you having? Is there a screenshot of the problem?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I checked, the display position shifts downward due to this change.

180105-002248

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If your amendment is valid for plain elFinder, please make another branch and send it as a separate pull request.

@nao-pon
Copy link
Member

nao-pon commented Jan 4, 2018

@vcordes79 The event name "update" can not be changed easily because there are cases where other users have added the quicklook preview plugin by themselves. Instead, I will modify it to change the event name if Element.update is extended.

Thanks!

Copy link
Member

@nao-pon nao-pon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make a branch separately for this changes (c4986e8) and send a separate pull request.

@nao-pon nao-pon closed this in 59af6f2 Jan 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants