Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Add 'before' hook #113

Closed
wants to merge 1 commit into from
Closed

Conversation

bertpareyn
Copy link

This pull request adds a before hook that allows a function to be executed before initialising the edit form. before defaults to false so no changes are required for existing code.

$('.jeditable-field').editable(editableSubmitted, {
    'before': function() {
        // Do things before the edit form is initialised
    },
});

@nicolaasmatthijs
Copy link

@tuupola : Any chance that this can be merged?

@NicolasCARPi
Copy link
Owner

Hello,

Thanks for your contribution, the code has been merged.

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.

None yet

3 participants