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

deleteURL Option #30

Open
elroyshilling opened this issue Oct 1, 2013 · 2 comments
Open

deleteURL Option #30

elroyshilling opened this issue Oct 1, 2013 · 2 comments

Comments

@elroyshilling
Copy link

Hi,

Is it posibble to add a deleteURL Option to the Tag-Handler. I use the Tag-Handler with server-side scripting PHP&MySQL and I'd like to use a different URL for deleting tags. If there is a work around for this issue please share..

Any suggestion welcome,

Thank you

@wshafer
Copy link

wshafer commented Oct 29, 2013

Look into the onDelete callback. You can use this to do anything you want when a tag gets deleted.

@elroyshilling
Copy link
Author

Thank you for your reply, the after-callback function works great for me:

afterDelete: function(tag) { $.post( "server_path/delete_tags.php", { id: "", tag: tag } ); },
afterAdd: function(tag) { $.post( "server_path/add_tags.php", { id: "", tag: tag } ); }

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

2 participants