krescruz / angular-materialize

Angularjs directives for Materialize CSS Framework https://github.com/Dogfalo/materialize
MIT License
397 stars 129 forks source link

Fix Modal to support new refactored version for v0.97.8 #203

Closed mnogueron closed 7 years ago

mnogueron commented 7 years ago

Fix refactored function and module names as observable in this commit:

Add initialisation before opening, as the initialisation is no more performed automatically when calling openModal() Source issue. Compatibility with "href" doesn't work anymore. It opens the modal and redirect as a link. href tag has therefore been changed to data-target to remove any incoherence and unwanted behaviour.

nanotime commented 7 years ago

@mnogueron dude there is a problem with your PR, you don't bumped the version in the bower.json file. I tried to use your origin but bower always take the old version... Can you make this change?

webbiesdk commented 7 years ago

I'm gonna trust you on this one, because it looks ok.