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

Fix/double spinner #202

Merged
merged 6 commits into from
Jul 23, 2017
Merged

Fix/double spinner #202

merged 6 commits into from
Jul 23, 2017

Conversation

ibelar
Copy link
Contributor

@ibelar ibelar commented Jul 20, 2017

Changes

Server response property change

Change response object property that hold javascript from eval to atkjs .
Using eval as property name was conflicting when in Wordpress environment causing the javascript
code to be run twice. Once prior to ApiService::onSucces() method and once in ApiService::onSuccess().

JS fix

Deleting CRUD record

Now properly eval code, even in a Wordpress environment.

Double spinner

Remove spinner from reloadView plugin since, semantic api call already load one.

Add timeout to spinner

Add a timeout function to spinner plugin.

semantic api call already has it’s own spinner. no need to show it in
reloadView, cause it will appear twice.
Also add timeout function to our own spinner.
Deleting column in grid.
@romaninsh
Copy link
Member

looks ok. Is "eval" now "atkjs" ?

@romaninsh romaninsh merged commit 0ba23bd into atk4:develop Jul 23, 2017
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