Skip to content

Some tweaks #1

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Some tweaks #1

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 25, 2013

Hi,
I added some simple tweaks to your directive and I would like to contribute back.
-Now when you select a non-image file it will display a feedback message.
-Once you select an image you have the option to remove it.
Please review it, thanks

@ghost ghost assigned Mischi Apr 27, 2013
@Mischi
Copy link
Owner

Mischi commented Apr 27, 2013

Thanks for your contribution. I'll review it.

@Mischi
Copy link
Owner

Mischi commented May 7, 2013

@jtellog i have found some time last day to review your commits.

I have refactored the directive quite a bit to be more flexible.
The component now only resizes the image and displaying is now up to the user.

But your idea about clearing the control is definitively a good one that i will integrate this week. I've asked myself if we can hook up the logic for the form reset (Cancel) too?

Any suggestions on that?

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.

2 participants