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

Nelze vypnout extension uniqueForm při formuláři, který není obsluhován přes nette #21

Closed
premyslposker opened this issue Dec 10, 2019 · 1 comment
Assignees

Comments

@premyslposker
Copy link
Contributor

Na Nay nám u formuláře vyhledávání z externí služby (Luigi's box) nelze vypnout extension uniqueForm, které nám vždy na tlačítko přidá atribut disabled

Řešeno v úkolu https://github.com/peckadesign/Nay2014/issues/10632

@premyslposker premyslposker self-assigned this Dec 10, 2019
premyslposker added a commit that referenced this issue Dec 10, 2019
…luhován přes nette

- přidána podmínka, zda-li formulář nemá nastaveno `data-ajax-off="uniqueForm"`
@premyslposker
Copy link
Contributor Author

premyslposker added a commit that referenced this issue Dec 10, 2019
…luhován přes nette

- upravena podmínka - odstraněno jquery, aby nebyla tak overkill
zipper added a commit that referenced this issue Dec 11, 2019
…luhován přes nette

  - zobecnění testu data atributu buď na formuláři nebo na tlačítku, na které se kliklo (via vlasnost `nette-submittedBy` nastavovanou přes nette ajax callback)
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

No branches or pull requests

1 participant