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

suspendAutoSync method for CrudManager #1853

Closed
fabiojpoli opened this issue Nov 11, 2020 · 1 comment
Closed

suspendAutoSync method for CrudManager #1853

fabiojpoli opened this issue Nov 11, 2020 · 1 comment
Assignees
Labels
feature request forum Issues from forum resolved Fixed but not yet released (available in the nightly builds)

Comments

@fabiojpoli
Copy link

Forum post

Replace the implementation bellow with a new suspendAutoSync method for CrudManager

// Suspend AjaxStore auto committing for the duration of the edit.
me.schedulerAutoCommit = taskStore.autoCommit;
taskStore.autoCommit   = false;
// Suspend Project auto syncing for the duration of the edit.
me.schedulerAutoSync       = scheduler.project.autoSync;
scheduler.project.autoSync = false;
@fabiojpoli fabiojpoli added feature request forum Issues from forum labels Nov 11, 2020
@isglass
Copy link
Contributor

isglass commented Nov 13, 2020

We have suspendCrudAutoSync() and resumeCrudAutoSync(), but they are private. Discuss with @arcady-zherdev about making them public

@matsbryntse matsbryntse added the ready for review Issue is fixed, the pull request is being reviewed label Nov 13, 2020
@matsbryntse matsbryntse self-assigned this Nov 13, 2020
@matsbryntse matsbryntse added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request forum Issues from forum resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants