Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Added compatibility with nette.ajax.js #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added compatibility with nette.ajax.js #42

wants to merge 1 commit into from

Conversation

vojtech-dobes
Copy link

I have not tested it, but this change makes the script compatible with nette.ajax.js while it remains fully working without it. It also gets rid of live which is deprecated, and does not affect global state of the application with ajaxSetup and ajaxStop calls anymore.

@vojtech-dobes
Copy link
Author

@iguana007 Díky za test - čím to je, že to nemůže najít template? Jak to může souviset s mojí úpravou?

@iguana007
Copy link

@vojtech-dobes to netuším, nepodařilo se mi najít důvod (nevím jak to v tom JS odkrokovat), ale tipnul bych si, že se to někde snaží volat actionNiftygrid - protože s tím původním grid.js to nedělá.
Konkrétně mi do Firebugu spadne error:
Nette\Application\BadRequestException: Page not found. Missing template '…\appRoot\app\SomeModule\templates\Foo\niftygrid.latte'. #40

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants